diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-03-15 07:27:07 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-03-15 07:27:07 +0000 |
commit | 556e6c0ac8d1a68434ceb4963060fb0bf108180c (patch) | |
tree | 74ca440f0b76cc802285a90f79585c2de9fc7f30 /main/perl-time-hires | |
parent | 294843bfbe34d8525b7090161405b0881da553a0 (diff) | |
download | aports-556e6c0ac8d1a68434ceb4963060fb0bf108180c.tar.bz2 aports-556e6c0ac8d1a68434ceb4963060fb0bf108180c.tar.xz |
main/perl-time-hires: upgrade to 1.9720
Diffstat (limited to 'main/perl-time-hires')
-rw-r--r-- | main/perl-time-hires/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/perl-time-hires/APKBUILD b/main/perl-time-hires/APKBUILD index e4383590a..bb920c614 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" |