contrib/p5-locale-maketext-lexicon/Pkgfile
2023-03-04 08:46:13 -05:00

22 lines
709 B
Plaintext

# Description: Perl/CPAN Module Locale::Maketext::Lexicon : Use other catalog formats in Maketext
# URL: https://metacpan.org/release/Locale-Maketext-Lexicon
# Maintainer: John McQuah, jmcquah at disroot dot org
name=p5-locale-maketext-lexicon
_author=DRTECH
version=1.00
release=1
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/Locale-Maketext-Lexicon-$version.tar.gz)
build() {
cd Locale-Maketext-Lexicon-$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
find $PKG \( -type f -a ! -perm -u+w \) -exec chmod u+w '{}' +
}