# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=otf2bdf
pkgver=3.1_p1
pkgrel=0
pkgdesc="OpenType to BDF Converter"
url="http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/"
arch="all"
license="MIT"
makedepends="freetype-dev"
subpackages="$pkgname-doc"
source="https://github.com/jirutka/otf2bdf/archive/v$pkgver/otf2bdf-$pkgver.tar.gz"
options="!check"  # no tests provided

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="
89a2e26e040bc585c67513da7ae9380857ecdbd536bea666d72c88bc7db96c7a8bf8dd3b62c8c2b4406577b7354a3e98c4563f93e7da1d954360f8b03a92110d  otf2bdf-3.1_p1.tar.gz
"
