# $Id: PKGBUILD 208900 2014-03-28 15:18:07Z andyrtr $ # Maintainer: Jan de Groot pkgname=fontconfig pkgver=2.11.1 pkgrel=1 pkgdesc="A library for configuring and customizing font access" arch=(i686 x86_64) url="http://www.fontconfig.org/release/" license=('custom') depends=('expat' 'freetype2') install=fontconfig.install source=(http://www.fontconfig.org/release/$pkgname-$pkgver.tar.bz2) sha256sums=('dc62447533bca844463a3c3fd4083b57c90f18a70506e7a9f4936b5a1e516a99') # a nice page to test font matching: # http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html build() { cd $pkgname-$pkgver # make sure there's no rpath trouble and sane .so versioning - FC and Gentoo do this as well libtoolize -f autoreconf -fi ./configure --prefix=/usr \ --sysconfdir=/etc \ --with-templatedir=/etc/fonts/conf.avail \ --with-xmldir=/etc/fonts \ --localstatedir=/var \ --disable-static \ --with-default-fonts=/usr/share/fonts \ --with-add-fonts=/usr/share/fonts make } check() { cd $pkgname-$pkgver make -k check } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }