diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-02-20 08:45:46 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-02-20 08:45:46 +0000 |
commit | a375a6061da25ea9d90e0c55ca8180ec7eedb6e5 (patch) | |
tree | 21dba6425410840888eff735e0fb5eedef781121 /community | |
parent | 1c50c0047682ae83e9ca7af1abb3fe0d86010ec2 (diff) | |
download | aports-a375a6061da25ea9d90e0c55ca8180ec7eedb6e5.tar.bz2 aports-a375a6061da25ea9d90e0c55ca8180ec7eedb6e5.tar.xz |
community/perl-test-differences: upgrade to 0.65
Diffstat (limited to 'community')
-rw-r--r-- | community/perl-test-differences/APKBUILD | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/community/perl-test-differences/APKBUILD b/community/perl-test-differences/APKBUILD index bf1d4dea7e..bfba4e9e9c 100644 --- a/community/perl-test-differences/APKBUILD +++ b/community/perl-test-differences/APKBUILD @@ -3,8 +3,8 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-test-differences _pkgreal=Test-Differences -pkgver=0.64 -pkgrel=1 +pkgver=0.65 +pkgrel=0 pkgdesc="Test strings and data structures and show differences if not ok" url="http://search.cpan.org/dist/Test-Differences/" arch="noarch" @@ -18,27 +18,24 @@ source="http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/$_pkgreal-$pkgver. builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare - cd "$builddir" - perl Build.PL installdirs=vendor + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build + make } check() { - cd "$builddir" - ./Build test + cd "$builddir" + make test } package() { cd "$builddir" - ./Build install destdir="$pkgdir" + make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="118a4b8e3f61f64d6676c82913bb605a843a408f3fc5d960b40cc86f10423380a203b2a5604e15ba8d4e0cff96af88b551fba1c7aa2ada3c0ef408a27ee5f069 Test-Differences-0.64.tar.gz" +sha512sums="298058b0ca94b865ac84bbed86275e1d2c3f9eadafc70c017d471d39a78a1370112aa63c09ff072621b12b1e6a84e9b456fe05e17d0d2893e2f5fc9946f81b87 Test-Differences-0.65.tar.gz" |