# Contributor: Mika Havela # Maintainer: Natanael Copa pkgname=fontconfig pkgver=2.10.1 pkgrel=0 pkgdesc="The Fontconfig package is a library for configuring and customizing font access." url="http://fontconfig.org" arch="all" license="GPL" depends= makedepends="pkgconfig freetype-dev expat-dev zlib-dev" install= triggers="$pkgname.trigger=/usr/share/fonts/*" subpackages="$pkgname-doc $pkgname-dev" source="http://fontconfig.org/release/${pkgname}-${pkgver}.tar.gz" depends_dev="freetype-dev expat-dev" build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-docs make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make -j1 DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la install -m644 -D COPYING "$pkgdir"/usr/share/licenses/"${pkgname}"/COPYING } md5sums="c94e380eea42f2f23ca9537035ef1899 fontconfig-2.10.1.tar.gz"