summaryrefslogtreecommitdiff
path: root/user/ttf-sudo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ttf-sudo/APKBUILD')
-rw-r--r--user/ttf-sudo/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/ttf-sudo/APKBUILD b/user/ttf-sudo/APKBUILD
new file mode 100644
index 000000000..385b2bd77
--- /dev/null
+++ b/user/ttf-sudo/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=ttf-sudo
+pkgver=0.37
+pkgrel=0
+pkgdesc="Monospaced font family for programming and console users"
+url="https://www.kutilek.de/sudo-font/"
+arch="noarch"
+options="!check" # No tests
+license="OFL-1.1"
+depends="fontconfig"
+makedepends=""
+source="https://github.com/jenskutilek/sudo-font/releases/download/v$pkgver/sudo.zip"
+builddir="$srcdir/sudo"
+
+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="9622d6f6aaf6724255d62b655b9bdb0fb9b67b66aa367f10df6fec5efd1d68e6da34a8b58bee04fb1d277bb225ed7bf17491e50e27a13383c7c9a79172439b4f sudo.zip"