summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-09-15 19:57:10 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-09-15 19:57:10 +0000
commit08294103e020db88bb755990d1049627087a4807 (patch)
treeca83ea4c8c2bc4edb34cae0f949fd913dd245590 /user
parentcdea30d8b39aa35c7698fa515bae7b8822924cb6 (diff)
parent8f7d209d9c7ce0ae57b39a276c7ec0de7ebc56a5 (diff)
downloadpackages-08294103e020db88bb755990d1049627087a4807.tar.gz
packages-08294103e020db88bb755990d1049627087a4807.tar.bz2
packages-08294103e020db88bb755990d1049627087a4807.tar.xz
packages-08294103e020db88bb755990d1049627087a4807.zip
Merge branch 'terminus-font' into 'master'
user/terminus-font: new package See merge request !56
Diffstat (limited to 'user')
-rw-r--r--user/terminus-font/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/terminus-font/APKBUILD b/user/terminus-font/APKBUILD
new file mode 100644
index 000000000..0020705e8
--- /dev/null
+++ b/user/terminus-font/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=terminus-font
+pkgver=4.46
+pkgrel=0
+pkgdesc="Monospace bitmap font (for X11 and console)"
+url="http://terminus-font.sourceforge.net/" # No HTTPS
+arch="noarch"
+options="!check" # Fonts have no test suite
+license="OFL-1.1"
+depends=""
+makedepends="bdftopcf python3"
+source="https://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --psfdir=/usr/share/consolefonts \
+ --x11dir=/usr/share/fonts/misc
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 75-yes-terminus.conf \
+ "$pkgdir/etc/fonts/conf.avail/75-yes-terminus.conf"
+ install -d "$pkgdir/etc/fonts/conf.d"
+ cd "$pkgdir/etc/fonts/conf.d"
+ ln -s /etc/fonts/conf.avail/75-yes-terminus.conf .
+}
+
+sha512sums="ae221920ecff54b9575a25d30a429feee6e19ef1e9669896c34f86f80d5495c3654f5423ff1df76e86bc999d1f37c306048b44d8ca55144f0f299926d3d33b58 terminus-font-4.46.tar.gz"