# Contributor: Breno Leitao <breno.leitao@gmail.com>
# Maintainer: 
pkgname=unifont
pkgver=12.1.03
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() {
	# Build fails with parallel make jobs.
	make DESTDIR="$pkgdir" -j1
}

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

sha512sums="4826095b3d5ab164a16a27d27334ab2ba62f39db46f164ceb31dccae14c8c0f2a1ea4d2141167c9328b699ab987bb094900d7d7af98a3c0b8d2260430d62200a  unifont-12.1.03.tar.gz"