summaryrefslogtreecommitdiff
path: root/user/ttf-terminus/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ttf-terminus/APKBUILD')
-rw-r--r--user/ttf-terminus/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/ttf-terminus/APKBUILD b/user/ttf-terminus/APKBUILD
new file mode 100644
index 000000000..532c7fa36
--- /dev/null
+++ b/user/ttf-terminus/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=ttf-terminus
+pkgver=4.47.0
+pkgrel=0
+pkgdesc="TrueType variant of Terminus Font"
+url="https://files.ax86.net/terminus-ttf/"
+arch="noarch"
+options="!check" # No tests
+license="OFL-1.1"
+depends="fontconfig"
+makedepends=""
+source="https://files.ax86.net/terminus-ttf/files/$pkgver/terminus-ttf-$pkgver.zip"
+builddir="$srcdir/terminus-ttf-$pkgver"
+
+package() {
+ cd "$builddir"
+ mkdir -p "$pkgdir"/usr/share/X11/TTF/${pkgname#*-}
+ for i in *.ttf; do
+ install -Dm644 "$i" "$pkgdir"/usr/share/X11/TTF/${pkgname#*-}
+ done
+}
+
+sha512sums="500e0aa12223f958dd0b00d1637ee26370700f937998335d54bc94528045157c5646ff6a2b35c37b44b765d36ebaf26cbf50458819debd536b29cb393833a584 terminus-ttf-4.47.0.zip"