PKGBUILDs/extra/font-bh-ttf/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
837 B
Bash

# $Id: PKGBUILD 33074 2009-04-04 06:50:21Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=font-bh-ttf
pkgver=1.0.0
pkgrel=4
pkgdesc="X.org Luxi Truetype fonts"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
install=xfonts.install
source=(${url}/releases/individual/font/${pkgname}-${pkgver}.tar.bz2)
md5sums=('ad43cf739b3d46ba1e7dc778a0608a52')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
--with-fontdir=/usr/share/fonts/TTF || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm ${pkgdir}/usr/share/fonts/*/fonts.*
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}