From 6e966d162da41c3ea17f753a00633f26874aead3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Tue, 26 Jul 2016 13:35:22 +0200 Subject: main/terminus-font: move from testing/ Also claim maintainership and cleanup a bit. --- main/terminus-font/APKBUILD | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 main/terminus-font/APKBUILD (limited to 'main/terminus-font/APKBUILD') diff --git a/main/terminus-font/APKBUILD b/main/terminus-font/APKBUILD new file mode 100644 index 0000000000..97c8bab780 --- /dev/null +++ b/main/terminus-font/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Sören Tempel +# Contributor: Orion +# Maintainer: Sören Tempel +pkgname=terminus-font +pkgver=4.40 +pkgrel=1 +pkgdesc="Monospace bitmap font (for X11 and console)" +url="http://terminus-font.sourceforge.net/" +arch="noarch" +license="custom" +depends="" +depends_dev="" +makedepends="bdftopcf fontconfig mkfontscale mkfontdir perl" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$builddir" + make \ + prefix=/usr \ + x11dir=/usr/share/fonts/misc \ + psfdir=/usr/share/consolefonts +} + +package() { + cd "$builddir" + make \ + prefix=/usr \ + x11dir=/usr/share/fonts/misc \ + psfdir=/usr/share/consolefonts \ + DESTDIR="$pkgdir" install \ + || return 1 + + install -d "$pkgdir"/usr/share/doc/$pkgname + install -Dm655 README README-BG \ + "$pkgdir"/usr/share/doc/$pkgname/ || return 1 + + install -Dm644 75-yes-terminus.conf \ + "$pkgdir"/etc/fonts/conf.avail/75-yes-terminus.conf + install -Dm644 OFL.TXT \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + install -d "$pkgdir/etc/fonts/conf.d" + cd "$pkgdir/etc/fonts/conf.d" + ln -s ../conf.avail/75-yes-terminus.conf . || return 1 +} + +md5sums="1e1df0d2c612c374ebe7966f90f04e0c terminus-font-4.40.tar.gz" +sha256sums="64f52c24d3f1c1e39f21e6c43077a9be3e21d4384f176f5766c00558ba670711 terminus-font-4.40.tar.gz" +sha512sums="843da1f51e37d48ae88c88def965ed96c2236c183fb596705290a96eba41256a02197a298439b83913eb7679b32c2a8f44dd04de031be4db56285efd3d4c6900 terminus-font-4.40.tar.gz" -- cgit v1.2.3