28 lines
940 B
Bash
28 lines
940 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=perl-locale-maketext-lexicon
|
|
pkgver=1.00
|
|
pkgrel=1
|
|
pkgdesc="Perl/CPAN Module Locale::Maketext::Lexicon : Use other catalog formats in Maketext"
|
|
arch=('any')
|
|
url='https://search.cpan.org/dist/Locale-Maketext-Lexicon'
|
|
license=('Expat')
|
|
depends=('perl')
|
|
options=(!emptydirs)
|
|
source=("https://search.cpan.org/CPAN/authors/id/D/DR/DRTECH/Locale-Maketext-Lexicon-$pkgver.tar.gz")
|
|
sha512sums=('b16a4296048aa77809780f6f55e944a67ce3287708bff4fc88d8ee487a6493580a7129a740ee65c6c74fa27e4343964fa8a5269f66fffc308354e723ed4afa60')
|
|
|
|
build() {
|
|
cd "$srcdir"/Locale-Maketext-Lexicon-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/Locale-Maketext-Lexicon-$pkgver
|
|
make install DESTDIR="$pkgdir"
|
|
find "$pkgdir" -name '.packlist' -delete
|
|
find "$pkgdir" -name '*.pod' -delete
|
|
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|