aports/main/perl-super/APKBUILD
Celeste 8e10fb158d main/perl-super: move perl-sub-identify to depends
also, recreate with apkbuild-cpan template 4
2024-04-27 09:16:25 +00:00

36 lines
986 B
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-super
pkgver=1.20190531
pkgrel=3
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=SUPER
pkgdesc="Control superclass method dispatch"
url="https://metacpan.org/release/SUPER/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-sub-identify"
makedepends="perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/SUPER-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
fb1072c76aa9d82edb39ec75f0e14c0fa41837b36b7d2ec24482a20338484cba867646f5e3ceb12ff4f8e1a6f333f5243900c2114d772a29d6c0380feabd3565 SUPER-1.20190531.tar.gz
"