summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/dina/APKBUILD31
-rw-r--r--user/otf-culmus/APKBUILD23
2 files changed, 54 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"
diff --git a/user/otf-culmus/APKBUILD b/user/otf-culmus/APKBUILD
new file mode 100644
index 000000000..d70ab7169
--- /dev/null
+++ b/user/otf-culmus/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=otf-culmus
+pkgver=0.133
+pkgrel=0
+pkgdesc="Culmus collections of Hebrew font families"
+url="https://culmus.sourceforge.net"
+arch="noarch"
+options="!check" # No tests
+license="MIT AND GPL-2.0-only WITH font-exception"
+depends="fontconfig"
+source="https://downloads.sourceforge.net/culmus/culmus-$pkgver.tar.gz"
+builddir="$srcdir"/${pkgname#*-}-$pkgver
+
+package() {
+ cd "$builddir"
+ mkdir -p "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
+ for i in *.otf; do
+ install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
+ done
+}
+
+sha512sums="97c17dbe4ad5b542a2bfd6c9c7a7afeeabae942cbbd3a718d46ceb18b4020fe7fdf93ade07a65a2da93dadff645abf0da4648713e3452d30bf2a9a79201f2845 culmus-0.133.tar.gz"