# Maintainer: Natanael Copa pkgname=pango pkgver=1.39.0 pkgrel=0 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="$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="e4173191fd7075614b88889509160f7e pango-1.39.0.tar.xz" sha256sums="13072ad9e49372d6d7ba7bb3b9b025faef04de3552b745e92d7880eb15d6ee7e pango-1.39.0.tar.xz" sha512sums="c5e8c23579004cafd1b996fa7e37963fa8c88c2367a1a1214ef007cac1dee3ab71546c5df7f7c2c6dc8cbe47f00ef6dab0a0d1c43af57ce1d37e7e0b71ace61b pango-1.39.0.tar.xz"