# Contributor: Breno Leitao <breno.leitao@gmail.com>
# Maintainer: Breno Leitao <breno.leitao@gmail.com>
pkgname=unifont
pkgver=9.0.06
pkgrel=0
pkgdesc="GNU Unifont package with glyphs for every printable code point in the Unicode 9.0 Basic Multilingual Plane (BMP)"
url="http://unifoundry.com/unifont.html"
arch="all"
license="GPL"
depends="bdftopcf perl-gd"
makedepends=""
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://unifoundry.com/pub/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	# The make file is not parallel, and crash.
	# Should force the build in serial mode!
	DESTDIR=/usr make  -j1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="767dc107d9a33008116b6939facbf31db6c7942acad257ad52a1a249f04b6215b41da928ef00e8308c2cc19924257cb0219d4eddd2b99502621ebd82e8673988  unifont-9.0.06.tar.gz"
