# Packager: Dimitris Tzemos pkgname=perl-locale-gettext _realname=Locale-gettext pkgver=1.07 pkgrel=1dj source=("http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz") docs=("readme") url='http://search.cpan.org/~pvandry/gettext-1.05/gettext.pm' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (message handling functions)" "The gettext module permits access from perl to the gettext() family of" "functions for retrieving message strings from databases constructed to" "internationalize software." ) build() { cd $startdir/src/${_realname}-$pkgver perl Makefile.PL || return 1 make OPTIMIZE="$CFLAGS" || return 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || return 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 ) || return 1 }