# $Id: PKGBUILD 4410 2008-07-06 20:50:37Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxfont
pkgver=1.3.3
pkgrel=3
pkgdesc="X11 font rasterisation library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libfontenc' 'freetype2>=2.3.7' 'fontsproto')
makedepends=('pkgconfig' 'xtrans' 'fontcacheproto' 'xproto')
options=('!libtool')
source=(${url}/archive/individual/lib/libXfont-${pkgver}.tar.bz2)
md5sums=('4f174b9613f87cf00d731da428a1b194')

build() {
  cd ${startdir}/src/libXfont-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}