aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-19 19:07:40 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-19 19:20:12 -0300
commitb947a73646c5444889fab3e81ac22e645781a038 (patch)
tree091c39a3b22152aada63813cc0a57c92803f8beb
parent2a1db908b385e579fd371574a7532d1f361f616f (diff)
downloadaports-b947a73646c5444889fab3e81ac22e645781a038.tar.bz2
aports-b947a73646c5444889fab3e81ac22e645781a038.tar.xz
community/perl-text-csv_xs: upgrade to 1.40
-rw-r--r--community/perl-text-csv_xs/APKBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/community/perl-text-csv_xs/APKBUILD b/community/perl-text-csv_xs/APKBUILD
index 6be1abc06b..986ac4cc15 100644
--- a/community/perl-text-csv_xs/APKBUILD
+++ b/community/perl-text-csv_xs/APKBUILD
@@ -3,45 +3,39 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-text-csv_xs
_pkgreal=Text-CSV_XS
-pkgver=1.39
-pkgrel=2
+pkgver=1.40
+pkgrel=0
pkgdesc="Perl module for Text-CSV_XS"
-url="http://search.cpan.org/dist/Text-CSV_XS/"
+url="https://metacpan.org/release/Text-CSV_XS"
arch="all"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends="perl-test-pod perl-test-pod-coverage"
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
+checkdepends="perl-test-pod perl-test-pod-coverage"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/$_pkgreal-$pkgver.tgz"
+source="https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
- cd "$builddir"
make test
}
-
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="ae3f51e5084698b43ea35bcfc75794ba3d74792c0994279ee3f3b578047ca52a683ad81f2ab56da276f96ea209f9d7e12b854ada2c9de3ee879487c00cea8638 Text-CSV_XS-1.39.tgz"
+sha512sums="1570c6ff08487603e428d889e9f917766ff8d053727924db6b5f2ab28b0161faa9496d44eba2f466ea2447b1ec8491313857cb447a948a0b9194a6e1c56e961c Text-CSV_XS-1.40.tgz"