mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
main/perl-getopt-long: upgrade to 2.58
also, upgrade to apkbuild-cpan template 4
This commit is contained in:
parent
8b095a8e84
commit
ae5ccaa8a0
1 changed files with 8 additions and 6 deletions
|
@ -1,11 +1,11 @@
|
|||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
pkgname=perl-getopt-long
|
||||
pkgver=2.58
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Getopt-Long
|
||||
pkgver=2.57
|
||||
pkgrel=1
|
||||
pkgdesc="Module to handle parsing command line options"
|
||||
url="https://metacpan.org/release/Getopt-Long/"
|
||||
arch="noarch"
|
||||
|
@ -16,7 +16,10 @@ builddir="$srcdir/$_pkgreal-$pkgver"
|
|||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -27,12 +30,11 @@ check() {
|
|||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
|
||||
# man pages are already provided by perl-doc
|
||||
rm -rf "$pkgdir"/usr/share/man
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6b07f683b6f1371bc7f9b018ec659c049d58de25194965c6e2ba3a288e6802ba07257aa5d447bc082f0481d0956798d9f17521faf6a31d896bb3be0d17953b49 Getopt-Long-2.57.tar.gz
|
||||
c673b82a819533310d5697be7e0b009ed39fd02873d17b3f0e1eebab790c58faf5e0a6b1d79bf274e3ee9d35d43b355988dccae56ec9fcbc6822bcae7d7e2ef6 Getopt-Long-2.58.tar.gz
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue