# Maintainer: Natanael Copa pkgname=font-bh-ttf pkgver=1.0.3 pkgrel=0 pkgdesc="X.org bh TTF fonts" url="http://xorg.freedesktop.org/" arch="all" license="custom" depends="encodings font-alias mkfontscale mkfontdir fontconfig" makedepends="font-util-dev bdftopcf" install= source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-mapfiles=/usr/share/fonts/util \ --with-fontdir=/usr/share/fonts/TTF \ || return 1 make || return 1 } package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" \ MKFONTDIR=: \ MKFONTSCALE=: \ FCCACHE=: \ install || return 1 } sha512sums="36b5b6bbc2894cd90a372e8131281a462b42d503be3e9af8565edbcd954b336690aa86a0b6fb162d865ba71b65669c5b911658c5b820effcea39d086d485be25 font-bh-ttf-1.0.3.tar.bz2"