mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/perl-sub-override: upgrade to 0.11
also, upgrade to apkbuild-cpan template 4, and move `perl-test-fatal` to checkdepends
This commit is contained in:
parent
7e173ea7ee
commit
f6daaab439
@ -1,23 +1,27 @@
|
||||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-sub-override
|
||||
pkgver=0.11
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Sub-Override
|
||||
pkgver=0.10
|
||||
pkgrel=0
|
||||
pkgdesc="easily override subroutines"
|
||||
url="https://metacpan.org/release/Sub-Override/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-test-fatal"
|
||||
depends="perl perl-sub-prototype"
|
||||
checkdepends="perl-test-fatal"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/O/OV/OVID/Sub-Override-$pkgver.tar.gz"
|
||||
source="https://cpan.metacpan.org/authors/id/M/MV/MVSJES/Sub-Override-$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
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
@ -28,9 +32,8 @@ check() {
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
27782c301c7abd30291be8af79a251d2be27b7616f950c28cb83ceeeb6a91eb69fe29413992c229afb6d75974851e69986eaa232aa81484ad49fcad55b2bdead Sub-Override-0.10.tar.gz
|
||||
b9a3c06dea8f2e050d6749839828d965fab98c01eebb2278c7158a237a5368d09f18843a0a9664617c3f3896128d5c23633d4bea6a075f1832a5f0711ff66536 Sub-Override-0.11.tar.gz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user