summaryrefslogtreecommitdiff
path: root/user/dina
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-02-13 13:20:19 -0600
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-02-20 13:01:53 -0600
commitecbcc7b293a2463263c17e585091b3b1e52d1ee4 (patch)
tree3d36aa7cbefa0838d9a657dd99cbfc4987c85717 /user/dina
parent998a1e3eb5d2b9e36f41ba9e9401cef8ad409051 (diff)
downloadpackages-ecbcc7b293a2463263c17e585091b3b1e52d1ee4.tar.gz
packages-ecbcc7b293a2463263c17e585091b3b1e52d1ee4.tar.bz2
packages-ecbcc7b293a2463263c17e585091b3b1e52d1ee4.tar.xz
packages-ecbcc7b293a2463263c17e585091b3b1e52d1ee4.zip
user/dina: new package
Diffstat (limited to 'user/dina')
-rw-r--r--user/dina/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/dina/APKBUILD b/user/dina/APKBUILD
new file mode 100644
index 000000000..4612562c9
--- /dev/null
+++ b/user/dina/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=dina
+pkgver=2.92
+pkgrel=0
+pkgdesc="Bitmap-based programming font"
+url="https://www.dcmembers.com/jibsen/download/61/"
+arch="noarch"
+options="!check" # No tests
+license="MIT"
+depends="encodings font-alias fontconfig mkfontdir"
+makedepends="bdftopcf"
+source="$pkgname-$pkgver.zip::https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61&refresh=5c64600776bf51550082055"
+
+build() {
+ cd "$srcdir"/BDF
+ for i in *.bdf; do
+ bdftopcf -o ${i%.bdf}.pcf $i
+ gzip ${i%.bdf}.pcf
+ done
+}
+
+package() {
+ cd "$srcdir"/BDF
+ mkdir -p "$pkgdir"/usr/share/fonts/X11/misc
+ for i in *.pcf.gz; do
+ install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/misc
+ done
+}
+
+sha512sums="ff4e3b6031c815c9c5d469852f094243022a1ac889fb6667c734ac1498fa99d1253abf4d02e8eadb55d7d4d7d80be4fac32730bc24660451d78d2600ceb0ee6f dina-2.92.zip"