contrib/p5-locale-maketext-lexicon/Pkgfile
2019-10-23 22:32:43 +11:00

22 lines
651 B
Plaintext

# Description: Perl/CPAN Module Locale::Maketext::Lexicon : Use other catalog formats in Maketext
# URL: https://metacpan.org/release/Locale-Maketext-Lexicon
# Maintainer: Danny Rawlins, crux at romster dot me
name=p5-locale-maketext-lexicon
_realname=Locale-Maketext-Lexicon
_author=DRTECH
version=1.00
release=1
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
build() {
cd $_realname-$version
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR="$PKG" install
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
find $PKG -depth -empty -delete
}