Commit e7d1a224 authored by Leo's avatar Leo Committed by Natanael Copa

main/perl-test-refcount: upgrade to 0.10

parent 0dc3d495
......@@ -3,38 +3,38 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-test-refcount
_pkgreal=Test-Refcount
pkgver=0.08
pkgver=0.10
pkgrel=0
pkgdesc="assert reference counts on objects"
url="http://search.cpan.org/dist/Test-Refcount/"
url="https://metacpan.org/release/Test-Refcount"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
perl Build.PL installdirs=vendor || return 1
cd "$builddir"
perl Build.PL installdirs=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
check() {
./Build test
}
package() {
cd "$_builddir"
./Build install destdir="$pkgdir" || return 1
cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="bcf11e5f0103568674bcc15d2168932e Test-Refcount-0.08.tar.gz"
sha256sums="90adbb5c8676953575d95e867b7aae763120de146268b7f4c00543e2c748cad7 Test-Refcount-0.08.tar.gz"
sha512sums="9a5ffe332f9a61c2f019963f49117f4a6af0b855371cd6aa24cc5e3edd7ee6caa54f25bcdd1edf57044c764030f8db37a1ee232d49130656643135cfac96d570 Test-Refcount-0.08.tar.gz"
sha512sums="7fac2a6bcb96da0ed61c53aaa2278e1ac998bd62314b95f307fe6ee032fd7d89264968f3ad78066186b112af0ba45960d5d1c81822bcd5f218418ea81236c4e1 Test-Refcount-0.10.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment