File: build-from-source

package info (click to toggle)
fonts-gamaliel 0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 280 kB
  • sloc: xml: 16; sh: 7; makefile: 6
file content (49 lines) | stat: -rw-r--r-- 1,845 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 fonts-gamaliel (0.1-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #)
Author: Gürkan Myczko <gurkan@phys.ethz.ch>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-09-03

Index: fonts-gamaliel-0.1/Makefile
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ fonts-gamaliel-0.1/Makefile	2018-09-03 12:21:08.000000000 +0200
@@ -0,0 +1,5 @@
+all:
+	-bash ./build
+
+clean:
+	-rm *.ttf
Index: fonts-gamaliel-0.1/build
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ fonts-gamaliel-0.1/build	2018-09-03 12:20:28.000000000 +0200
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+for a in *.sfd; do
+    fontfile=$(basename $a .sfd)
+    namedir=$(echo $fontfile | sed "s,-.*,,")
+    name=$(echo $fontfile | sed "s,-.*,,")
+    type=$(echo $fontfile | sed "s,.*-,,")
+    fontforge -lang=ff -c 'Open($1); Generate($2)' ${fontfile}.sfd ${name}.ttf
+done