#Maintainer: George Vlahavas pkgname=perl-pango pkgver=1.223 pkgrel=1gv source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Pango-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "license" "copyright.pod") url=http://gtk2-perl.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-pango (Layout and render international text with Perl)" "In addition to the low level layout rendering routines, Pango includes" "Pango::Layout, a high level driver for laying out entire blocks of" "text, and routines to assist in editing internationalized text." ) build() { cd $startdir/src/Pango-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }