summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/spleen/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/spleen/APKBUILD b/user/spleen/APKBUILD
new file mode 100644
index 000000000..add08cb24
--- /dev/null
+++ b/user/spleen/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=spleen
+pkgver=1.0.4
+pkgrel=0
+pkgdesc="Monospace bitmap typeface from OpenBSD"
+url="https://www.cambus.net/spleen-monospaced-bitmap-fonts/"
+arch="noarch"
+options="!check"
+license="BSD-2-Clause"
+depends="fontconfig mkfontdir mkfontscale"
+makedepends=""
+subpackages=""
+source="https://github.com/fcambus/spleen/releases/download/$pkgver/spleen-$pkgver.tar.gz"
+
+package() {
+ cd "$builddir"
+ local _font
+ for _font in *.pcf; do
+ gzip -9 $_font
+ install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/misc/ $_font.gz
+ done
+}
+
+sha512sums="e97245e3a7f176e1160900ebb0390165184f2f298ab210c5b1a870ed3c556a35ef0c6d7aeadf129c1f850ed060718ed07d4e27b3f93873f8b808b9610925c880 spleen-1.0.4.tar.gz"