# Maintainer: Natanael Copa pkgname=pango pkgver=1.32.1 pkgrel=1 pkgdesc="A library for layout and rendering of text" url="http://www.pango.org/" arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev harfbuzz-dev" makedepends="$depends_dev cairo-dev expat-dev gobject-introspection-dev" install="pango.post-install $pkgname.pre-deinstall" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --with-included-modules=basic-fc \ --localstatedir=/var || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la \ "$pkgdir"/usr/lib/pango/*/modules/*.la } md5sums="73570ab28462fc43960a8d1ffdae43d0 pango-1.32.1.tar.xz"