pkgname=pango
pkgver=1.14.10
pkgrel=1
install=pango.install
depends=('glib2' 'cairo')
source="ftp://ftp.gnome.org/pub/gnome/sources/pango/1.14/$pkgname-$pkgver.tar.gz"
md5sums=('2dbdd32c18dcea2fbccf3980c43f945d')
groups=('desktop')

# After updating the port to a new pkgrel you'll have to run:
#   pango-querymodules > pango.modules and also install that file in
# /etc/pango/pango.modules
# Saves users running a post-install-script

build()
{
    cd $pkgname-$pkgver
    ./configure --prefix=/usr --sysconfdir=/etc --enable-static=no --enable-shared=yes
    export LD_LIBRARY_PATH=$startdir/src/$pkgname-$pkgver/pango/.libs
    make
    make install DESTDIR=$startdir/pkg
#    install -D -m 644 $startdir/src/pango.modules $startdir/pkg/usr/etc/pango/pango.modules
#    rm -r $startdir/pkg/usr/share
}
