diff options
Diffstat (limited to 'main/perl-time-hires/APKBUILD')
-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 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" |