diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-20 06:26:14 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-20 06:26:14 +0000 |
commit | 852880432e22d91d3d3947768c77b09087a9d774 (patch) | |
tree | 8c489d53bd2d23d1b4f7a60e88a3c1ea71632578 /community/perl-text-csv_xs | |
parent | f75ab34c4dd62f3ee55dd64e6b4c5efaabb7c23e (diff) | |
download | aports-852880432e22d91d3d3947768c77b09087a9d774.tar.bz2 aports-852880432e22d91d3d3947768c77b09087a9d774.tar.xz |
community/perl-text-csv_xs: upgrade to 1.27
Diffstat (limited to 'community/perl-text-csv_xs')
-rw-r--r-- | community/perl-text-csv_xs/APKBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/community/perl-text-csv_xs/APKBUILD b/community/perl-text-csv_xs/APKBUILD index 4bc1ea0e90..2ba0bb7f8b 100644 --- a/community/perl-text-csv_xs/APKBUILD +++ b/community/perl-text-csv_xs/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-text-csv_xs _pkgreal=Text-CSV_XS -pkgver=1.26 +pkgver=1.27 pkgrel=0 pkgdesc="Perl module for Text-CSV_XS" url="http://search.cpan.org/dist/Text-CSV_XS/" @@ -17,8 +17,14 @@ subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/$_pkgreal-$pkgver.tgz" builddir="$srcdir/$_pkgreal-$pkgver" +check() { + cd "$builddir" + make test +} + + prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -28,16 +34,14 @@ prepare() { 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="833ef0394d21a9086004eb15a006d4bc Text-CSV_XS-1.26.tgz" -sha256sums="e0cdb04b32a64632b4c99927b31100578a75c53d0ab2a5bc1686151706e38662 Text-CSV_XS-1.26.tgz" -sha512sums="f3e2841638e212f4858b230159ee2a246732d9f5739ce2adbd9778a630852946a9da11c0f270828b880ac6e160611817ffbc0f59f42f20ed64bc82255cdeed7b Text-CSV_XS-1.26.tgz" +sha512sums="d00a51d79d2c9da000fb6da4ec156afce67f3b38913734c16c92a6af32037458d7acfc15f69df87643bc05e52fff856a693b167bf5401301ba876cbb9cadba28 Text-CSV_XS-1.27.tgz" |