diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-29 03:25:12 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-05 19:39:48 +0000 |
commit | c9a6b47d0eb6c08ada1168308b10b9215af5a45b (patch) | |
tree | 0432fcfae2d9b0c00c99d5b070132b0804949394 /main/perl-carp-clan | |
parent | d3b61aa2c12d86f3c47e54abb4271b03797b2857 (diff) | |
download | aports-c9a6b47d0eb6c08ada1168308b10b9215af5a45b.tar.bz2 aports-c9a6b47d0eb6c08ada1168308b10b9215af5a45b.tar.xz |
main/perl-carp-clan: upgrade to 6.07
Diffstat (limited to 'main/perl-carp-clan')
-rw-r--r-- | main/perl-carp-clan/APKBUILD | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/main/perl-carp-clan/APKBUILD b/main/perl-carp-clan/APKBUILD index 124fc013ca..a601b2ab69 100644 --- a/main/perl-carp-clan/APKBUILD +++ b/main/perl-carp-clan/APKBUILD @@ -2,38 +2,38 @@ # Maintainer: Mika Havela <mika.havela@gmail.com> pkgname=perl-carp-clan _realname=Carp-Clan -pkgver=6.06 -pkgrel=1 +pkgver=6.07 +pkgrel=0 pkgdesc="Perl - Report errors from perspective of caller of a 'clan' of modules" url="http://search.cpan.org/~stbey/$_realname-$pkgver/" arch="noarch" -license="Artistic GPL" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-test-exception" makedepends="perl-dev" -install= subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KE/KENTNL/Carp-Clan-$pkgver.tar.gz" +source="https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_realname-$pkgver.tar.gz" -_builddir="$srcdir/$_realname-$pkgver" +builddir="$srcdir/$_realname-$pkgver" prepare() { - cd "$_builddir" + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make test || return 1 + cd "$builddir" + make +} + +check() { + cd "$builddir" + make test } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install - # creates file collision among perl modules - find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="c562a35c48f43665fab735cdc7fe3cb2 Carp-Clan-6.06.tar.gz" -sha256sums="ea4ac8f611354756d43cb369880032901e9cc4cc7e0bebb7b647186dac00c9d4 Carp-Clan-6.06.tar.gz" -sha512sums="a3dede626814a71a5f99b25a5b01133ecd13037fd1fbbaacb04852962c5d23bb77c1cb70f417879ec173db0215904adb59136dd30de6166994aa9aa7b28ca08f Carp-Clan-6.06.tar.gz" +sha512sums="0180c2bd2ffe9f2b6c23d7e76bf3dd8ceeacfc842b09c2dab2f81d002ff7235ce2d145e53c55e375cb889291577cfcd4cb9be34b5445ae532cb9768979c57e41 Carp-Clan-6.07.tar.gz" |