diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2017-01-23 13:11:16 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-01-23 11:15:58 +0000 |
commit | d8f19a30da80211889ec67ebd16d13110066edc1 (patch) | |
tree | ba0f089895e00b85bd89e6ee3d4ef6027aee5b77 /testing/perl-time-local | |
parent | 34309408df18b186f04adf8993b18437fb707d91 (diff) | |
download | aports-d8f19a30da80211889ec67ebd16d13110066edc1.tar.bz2 aports-d8f19a30da80211889ec67ebd16d13110066edc1.tar.xz |
testing/perl-time-local: upgrade to 1.25
- apkbuild cleanups
- fix download url
- fix -doc
Diffstat (limited to 'testing/perl-time-local')
-rw-r--r-- | testing/perl-time-local/APKBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/testing/perl-time-local/APKBUILD b/testing/perl-time-local/APKBUILD index 62ae9966d7..cae4f1e4e3 100644 --- a/testing/perl-time-local/APKBUILD +++ b/testing/perl-time-local/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=perl-time-local _pkgreal=Time-Local -pkgver=1.2000 +pkgver=1.25 pkgrel=0 pkgdesc="unknown" url="http://search.cpan.org/dist/Time-Local/" @@ -14,24 +14,29 @@ cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" +source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" - make && make test + cd "$builddir" + make && make test || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="dc9c362e980830d62b1e9653ca4f27fd Time-Local-1.2000.tar.gz" +doc() { + default_doc + replaces="perl-doc" +} +md5sums="f974bea54e26d9fc6e9bd1d594ba3da9 Time-Local-1.25.tar.gz" +sha256sums="1ae9c51d777ac44a3ebc154dc625ba24d7c0cde6a8b6dba87b46d0777889fef2 Time-Local-1.25.tar.gz" +sha512sums="7c21fd0d699bf139aebb5b252f1c37eed20ae78bbfd145390a97a08879121a242dbee0d81a405e634b15ffcbb640b4030c700b1b9cf11e98e474bd57c23f4c8a Time-Local-1.25.tar.gz" |