From ecbcc7b293a2463263c17e585091b3b1e52d1ee4 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Wed, 13 Feb 2019 13:20:19 -0600 Subject: user/dina: new package --- user/dina/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/dina/APKBUILD (limited to 'user/dina/APKBUILD') diff --git a/user/dina/APKBUILD b/user/dina/APKBUILD new file mode 100644 index 000000000..4612562c9 --- /dev/null +++ b/user/dina/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +pkgname=dina +pkgver=2.92 +pkgrel=0 +pkgdesc="Bitmap-based programming font" +url="https://www.dcmembers.com/jibsen/download/61/" +arch="noarch" +options="!check" # No tests +license="MIT" +depends="encodings font-alias fontconfig mkfontdir" +makedepends="bdftopcf" +source="$pkgname-$pkgver.zip::https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61&refresh=5c64600776bf51550082055" + +build() { + cd "$srcdir"/BDF + for i in *.bdf; do + bdftopcf -o ${i%.bdf}.pcf $i + gzip ${i%.bdf}.pcf + done +} + +package() { + cd "$srcdir"/BDF + mkdir -p "$pkgdir"/usr/share/fonts/X11/misc + for i in *.pcf.gz; do + install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/misc + done +} + +sha512sums="ff4e3b6031c815c9c5d469852f094243022a1ac889fb6667c734ac1498fa99d1253abf4d02e8eadb55d7d4d7d80be4fac32730bc24660451d78d2600ceb0ee6f dina-2.92.zip" -- cgit v1.2.3-70-g09d2