# $Id: PKGBUILD 55090 2009-10-11 22:04:17Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libxft pkgver=2.1.14 pkgrel=1 pkgdesc="FreeType-based font drawing library for X" arch=('i686' 'x86_64') license=('custom') url="http://xorg.freedesktop.org/" depends=('fontconfig>=2.6.0' 'libxrender' 'sh') makedepends=('pkgconfig') options=('!libtool') source=(${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2) md5sums=('254e62a233491e0e1251636536163e20') build() { cd ${startdir}/src/libXft-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname} install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 }