# Contributor: Breno Leitao <breno.leitao@gmail.com>
# Maintainer: 
pkgname=unifont
pkgver=12.1.02
pkgrel=0
pkgdesc="GNU font package with all Unicode 11 characters"
url="http://unifoundry.com/unifont.html"
arch="all"
options="!check"  # No way to test fonts.
license="GPL-2.0+ WITH Font-exception-2.0 AND GPL-2.0+ AND GFDL-1.3+"
depends="bdftopcf perl-gd"
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://unifoundry.com/pub/unifont/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"
	# Build fails with parallel make jobs.
	make DESTDIR="$pkgdir" -j1
}

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

sha512sums="031336c5811957f211e442c9d3a3920cc3149f80681802a0f9e2a9c905ccce8f0434bf37f6000d30ff568aa5020d4017034906be2b38ead7ebb35b7dc8d47299  unifont-12.1.02.tar.gz"