diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-06-29 01:41:48 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-06-30 22:08:26 +0000 |
commit | d33cb86ca49a8d19b4d5253d5385e4b38a747daf (patch) | |
tree | a190a6a8eac3e89e79d56e0bc62c77405ae4293b /community | |
parent | 8f0b84857fdf1c8ca30413ca9a2fae7225a74705 (diff) | |
download | aports-d33cb86ca49a8d19b4d5253d5385e4b38a747daf.tar.bz2 aports-d33cb86ca49a8d19b4d5253d5385e4b38a747daf.tar.xz |
community/perl-module-scandeps: update to 1.24
Diffstat (limited to 'community')
-rw-r--r-- | community/perl-module-scandeps/APKBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/community/perl-module-scandeps/APKBUILD b/community/perl-module-scandeps/APKBUILD index e119aa9bdb..8320ef4772 100644 --- a/community/perl-module-scandeps/APKBUILD +++ b/community/perl-module-scandeps/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=perl-module-scandeps _pkgreal=Module-ScanDeps -pkgver=1.23 +pkgver=1.24 pkgrel=0 pkgdesc="Recursively scan Perl code for dependencies" url="http://search.cpan.org/dist/Module-ScanDeps/" @@ -15,7 +15,7 @@ source="http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/$_pkgreal-$pkgver.ta builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -26,16 +26,19 @@ build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="3553590e50b68a50cd5196ca035dafae Module-ScanDeps-1.23.tar.gz" -sha256sums="162b6f771197ad4662ac60c427d473b4c0a41cac476fa96b48556cce7fca040e Module-ScanDeps-1.23.tar.gz" -sha512sums="7ceb1705aa9be7601a44dea2521a0952de70eb294a88939147d254c3af7056602bbfab97fd117ac4f4184da92354aa1f83f1207d84bf502eb02b0c60fc417ba8 Module-ScanDeps-1.23.tar.gz" +check() { + cd "$builddir" + make test +} + +sha512sums="7f3d9821aa863d8ebc78fb5fb3c7172ce133169ec54ed91b90e05ba50654b4bd0282b3a760adfc8b6bd553dda4116dbf51972bb2af94b59f6f04daeba996e889 Module-ScanDeps-1.24.tar.gz" |