diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-11-11 12:03:16 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2017-11-13 09:08:07 +0000 |
commit | ac33ca9b180ee6c0a45078496d32b1413dbe80fa (patch) | |
tree | 7628029315a530fb3678f7ff5c5144e6fedc31c6 /main/perl-list-someutils-xs | |
parent | 047f04b1830bc95fc9fc11c227b555741368512d (diff) | |
download | aports-ac33ca9b180ee6c0a45078496d32b1413dbe80fa.tar.bz2 aports-ac33ca9b180ee6c0a45078496d32b1413dbe80fa.tar.xz |
main/perl-list-someutils-xs: upgrade to 0.55 and modernize
Diffstat (limited to 'main/perl-list-someutils-xs')
-rw-r--r-- | main/perl-list-someutils-xs/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/main/perl-list-someutils-xs/APKBUILD b/main/perl-list-someutils-xs/APKBUILD index 9c5e33c810..95d1fea4db 100644 --- a/main/perl-list-someutils-xs/APKBUILD +++ b/main/perl-list-someutils-xs/APKBUILD @@ -3,14 +3,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-list-someutils-xs _pkgreal=List-SomeUtils-XS -pkgver=0.52 -pkgrel=1 +pkgver=0.55 +pkgrel=0 pkgdesc="XS implementation for List::SomeUtils" url="http://search.cpan.org/dist/List-SomeUtils-XS/" arch="all" license="Artistic-2" cpandepends="" -cpanmakedepends=" perl-test-leaktrace perl-test-warnings " +cpanmakedepends="perl-test-leaktrace perl-test-warnings " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" @@ -18,7 +18,7 @@ source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.ta builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -28,15 +28,18 @@ prepare() { build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test + make +} + +check() { + cd "$builddir" + make test } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="749b1539caee78a2299d53a3bebb927c List-SomeUtils-XS-0.52.tar.gz" -sha256sums="e0e43c393283c15d8d447c4797102193a2c3543a20f6a014dd8aced0a843f4e1 List-SomeUtils-XS-0.52.tar.gz" -sha512sums="871d492a0ec019d56ecb5a02d0bb362462b52b08cc3ea5b95f58125009e6cca83ae77b3b877152885c8a24c36e438616051b61058a67b212c2dd9fa51ccf7ff9 List-SomeUtils-XS-0.52.tar.gz" +sha512sums="44bf99ed3653c6d21fe0d0504dc6e3235ee89079b9c7cb77315f5713c0522057f8f3acbd34001bfba34cce6dfc568684c564b4fcecc700cbc780c57d36591f1f List-SomeUtils-XS-0.55.tar.gz" |