summaryrefslogtreecommitdiff
path: root/user/spleen/APKBUILD
blob: add08cb24802d922290c1216ac74e908a84cbb50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"