blob: 92fe31c6026299c1fd4ae785efc58f6f23bf16ef (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-getopt-long-descriptive
pkgver=0.103
pkgrel=0
pkgdesc="Simpler Perl implementation of Getopt::Long"
url="https://metacpan.org/release/Getopt-Long-Descriptive"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl-params-validate perl-sub-exporter"
makedepends="perl-dev"
checkdepends="perl-cpan-meta-check perl-test-fatal perl-test-warnings"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-$pkgver.tar.gz"
builddir="$srcdir/Getopt-Long-Descriptive-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="9229575bde794fa1213871fbb33a12222737d7979cf4c290200fd85c7da9e3227539809b8380a88a85675429ceb61e505bac8cc4e1408ca63ba92b4e1b33149f Getopt-Long-Descriptive-0.103.tar.gz"
|