mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Sheila Aman <sheila@vulpine.house>
|
|
# Maintainer: Sheila Aman <sheila@vulpine.house>
|
|
pkgname=perl-test-refcount
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Refcount
|
|
pkgver=0.10
|
|
pkgrel=5
|
|
pkgdesc="assert reference counts on objects"
|
|
url="https://metacpan.org/release/Test-Refcount/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
makedepends="perl-dev perl-module-build"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Test-Refcount-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL --installdirs=vendor
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
7fac2a6bcb96da0ed61c53aaa2278e1ac998bd62314b95f307fe6ee032fd7d89264968f3ad78066186b112af0ba45960d5d1c81822bcd5f218418ea81236c4e1 Test-Refcount-0.10.tar.gz
|
|
"
|