#Packager: George Vlahavas # # Requires perl-Pod-Parser and perl-Text-WrapI18N on build-time only pkgname=po4a pkgver=0.62 pkgrel=1gv source=("https://github.com/mquinson/po4a/releases/download/v$pkgver/po4a-$pkgver.tar.gz") docs=("readme*" "install" "copying" "changelog" "authors" "news" "todo" "contributing.md") url=https://po4a.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "po4a (Versatile PO to/from other documentation formats converter)" "po4a (PO for anything) eases translations and their maintenance," "allowing gettext's usage on unexpected areas like documentation." ) build() { cd $startdir/src/$pkgname-$pkgver perl Build.PL installdirs=vendor create_packlist=0 || exit 1 perl Build || exit 1 perl Build destdir=$startdir/pkg install || 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 }