aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-carp
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-05-02 22:08:35 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-03 15:02:21 +0000
commit53b312f753c624064b4aa292b3da186dec50034a (patch)
tree6036469a94a478793ef8eff440a73d00b6ebf73f /main/perl-carp
parentf3539b34ba7c0e50d406f5aa020fb838f90a3612 (diff)
downloadaports-53b312f753c624064b4aa292b3da186dec50034a.tar.bz2
aports-53b312f753c624064b4aa292b3da186dec50034a.tar.xz
main/perl-carp: upgrade to 1.37.01
Diffstat (limited to 'main/perl-carp')
-rw-r--r--main/perl-carp/APKBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/main/perl-carp/APKBUILD b/main/perl-carp/APKBUILD
index 0b6f2eff32..f5dae57a9c 100644
--- a/main/perl-carp/APKBUILD
+++ b/main/perl-carp/APKBUILD
@@ -1,41 +1,40 @@
-# Automatically generated by apkbuild-cpan, template 1
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-carp
_pkgreal=Carp
-pkgver=1.36
+pkgver=1.37.01
+_pkgver="${pkgver%.*}_${pkgver##*.}"
pkgrel=0
pkgdesc="alternative warn and die for modules"
url="http://search.cpan.org/dist/Carp/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
-cpanmakedepends=" "
+cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$_pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$_pkgver"
prepare() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ 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}'`
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="3f5dcd7cc263bd01617886174ceff5a4 Carp-1.36.tar.gz"
-sha256sums="dcc789935126461c80df0653f98c1d8d0b936dcc3d04174287cb02767eca123c Carp-1.36.tar.gz"
-sha512sums="90616169954e3740abab3207405cd08cc1d4bc70de84e0b12d9657fe6a8ca8c555f8df3e6d70e57e5bedb7aa3b519e79032548ad3b958de9a0f9bb2a376a5aac Carp-1.36.tar.gz"
+md5sums="2c43d02407bf89a32f3f8f1400196ad9 Carp-1.37_01.tar.gz"
+sha256sums="dae3dfb4e8db118a0cc94e7b41c5a874a3eedee06d4346214e1de442baffab9f Carp-1.37_01.tar.gz"
+sha512sums="021d4b28e7eabf7885c2b40830fb0b92bc57b51e0e031935d8e4e73dbca2459687429436524c0a9191a8fc151d8e7c3f87ea4ae8e0709d3a1696def5b0bbd8f4 Carp-1.37_01.tar.gz"