# Maintainer: Natanael Copa pkgname=pango pkgver=1.40.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="" makedepends="$depends_dev cairo-dev expat-dev gobject-introspection-dev fontconfig-dev freetype-dev glib-dev harfbuzz-dev libxft-dev" install="$pkgname.pre-deinstall" triggers="$pkgname.trigger=/usr/lib/pango/*/modules" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" build () { cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver mkdir -p "$pkgdir"/etc/pango make DESTDIR="$pkgdir" install || return 1 } md5sums="6fc88c6529890d6c8e03074d57a3eceb pango-1.40.1.tar.xz" sha256sums="e27af54172c72b3ac6be53c9a4c67053e16c905e02addcf3a603ceb2005c1a40 pango-1.40.1.tar.xz" sha512sums="0245fca0156eb7a26ac65ae23ae026271355a506f9bd4f1c0f3a5c3ac8bb44d04561390bdf259370220aaad6d883563721bfdcb4bfa47615fad47fddfe4f620f pango-1.40.1.tar.xz"