diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-02-21 16:58:21 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-02-21 16:58:21 +0000 |
commit | c0324a9fafe3658bd62c4da18115e46146aa47f3 (patch) | |
tree | 4085bc94147b47e7424fb07d44eb2b53e49f1649 /user/dina/APKBUILD | |
parent | 76dbaa8523d5eadd91164a9bfb59d9de324169fd (diff) | |
parent | ecbcc7b293a2463263c17e585091b3b1e52d1ee4 (diff) | |
download | packages-c0324a9fafe3658bd62c4da18115e46146aa47f3.tar.gz packages-c0324a9fafe3658bd62c4da18115e46146aa47f3.tar.bz2 packages-c0324a9fafe3658bd62c4da18115e46146aa47f3.tar.xz packages-c0324a9fafe3658bd62c4da18115e46146aa47f3.zip |
Merge branch 'morefonts' into 'master'
Couple of misc fonts
See merge request !177
Diffstat (limited to 'user/dina/APKBUILD')
-rw-r--r-- | user/dina/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
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 <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +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" |