diff options
Diffstat (limited to 'main/terminus-font/APKBUILD')
-rw-r--r-- | main/terminus-font/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
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 <soeren+alpine@soeren-tempel.net> +# Contributor: Orion <systmkor@gmail.com> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +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" |