mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 10:57:10 +02:00
39 lines
1.3 KiB
Text
39 lines
1.3 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-getopt-long-descriptive
|
|
pkgver=0.116
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Getopt-Long-Descriptive
|
|
pkgdesc="Getopt::Long, but simpler and more powerful"
|
|
url="https://metacpan.org/release/Getopt-Long-Descriptive/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-sub-exporter perl-params-validate perl-getopt-long>=2.55"
|
|
checkdepends="perl-test-warnings perl-cpan-meta-check perl-test-fatal"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
6c31592b98d8f594fd0d3bcc750120479fa3bd663211ef28ea6607a555c51717cda32679b463e404543392c68fcf289c2a6e51cf93200ec9ea5a43535e5ec438 Getopt-Long-Descriptive-0.116.tar.gz
|
|
"
|