aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-time-hires/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-03-15 07:27:07 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-03-15 07:27:07 +0000
commit556e6c0ac8d1a68434ceb4963060fb0bf108180c (patch)
tree74ca440f0b76cc802285a90f79585c2de9fc7f30 /main/perl-time-hires/APKBUILD
parent294843bfbe34d8525b7090161405b0881da553a0 (diff)
downloadaports-556e6c0ac8d1a68434ceb4963060fb0bf108180c.tar.bz2
aports-556e6c0ac8d1a68434ceb4963060fb0bf108180c.tar.xz
main/perl-time-hires: upgrade to 1.9720
Diffstat (limited to 'main/perl-time-hires/APKBUILD')
-rw-r--r--main/perl-time-hires/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/perl-time-hires/APKBUILD b/main/perl-time-hires/APKBUILD
index e4383590af..bb920c614c 100644
--- a/main/perl-time-hires/APKBUILD
+++ b/main/perl-time-hires/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=perl-time-hires
_realname=Time-HiRes
-pkgver=1.9719
+pkgver=1.9720
pkgrel=0
pkgdesc="High resolution alarm, sleep, gettimeofday, interval timers"
url="http://search.cpan.org/~jhi/Time-HiRes-${pkgver}/"
@@ -12,14 +12,20 @@ install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JH/JHI/$_realname-$pkgver.tar.gz"
+_builddir="$srcdir/$_realname-$pkgver"
+
build() {
- cd "$srcdir/$_realname-$pkgver"
+ cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
-md5sums="2aa17d4b89f3649b9813ab891b83a5e3 Time-HiRes-1.9719.tar.gz"
+md5sums="428e9f4a77d1713aa8470b4bac522cb0 Time-HiRes-1.9720.tar.gz"