summaryrefslogtreecommitdiffstats
path: root/main/perl-time-date/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-25 20:16:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-25 20:16:39 +0000
commita2e7dea5ddc1eec2436b47a73d139a4b6e1799d5 (patch)
tree031f962b3b790608d5bdd148235d60f6bdf18547 /main/perl-time-date/APKBUILD
parentc31427bcf27ad1b121bc1b27cd32421e5f8af6f9 (diff)
downloadaports-a2e7dea5ddc1eec2436b47a73d139a4b6e1799d5.tar.bz2
aports-a2e7dea5ddc1eec2436b47a73d139a4b6e1799d5.tar.xz
main/perl-time-date: upgrade to 1.20
Diffstat (limited to 'main/perl-time-date/APKBUILD')
-rw-r--r--main/perl-time-date/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-time-date/APKBUILD b/main/perl-time-date/APKBUILD
index c1e928849..7015603c9 100644
--- a/main/perl-time-date/APKBUILD
+++ b/main/perl-time-date/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=perl-time-date
_realname=TimeDate
-pkgver=1.16
+pkgver=1.20
pkgrel=0
pkgdesc="Date formating subroutines"
url="http://search.cpan.org/~gbarr/TimeDate-1.16/"
@@ -18,9 +18,13 @@ build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
-md5sums="b3cc35a7cabd106ac8829d2f2ff4bd9d TimeDate-1.16.tar.gz"
+md5sums="7da7452bce4c684e4238e6d09b390200 TimeDate-1.20.tar.gz"