summaryrefslogblamecommitdiff
path: root/user/dina/APKBUILD
blob: 6286757657481297e57de65425a8c16730a1f74f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                           
           








                                                                                                                      
                      

         






                                            





                                                                      
                                                                                                                                                            
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=dina
pkgver=2.93
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"
builddir="$srcdir/BDF"

build() {
	for i in *.bdf; do
		bdftopcf -o ${i%.bdf}.pcf $i
		gzip ${i%.bdf}.pcf
	done
}

package() {
	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.93.zip"