aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-digest-hmac/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-02 08:20:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-02 08:20:52 +0000
commit9235b692827a0ae92558b107ab6129a0469da525 (patch)
treec2394926db97564148e1307226c1278216d31a53 /main/perl-digest-hmac/APKBUILD
parentb914a45992fe8f879fe9ace743e4c93d92b36caa (diff)
downloadaports-9235b692827a0ae92558b107ab6129a0469da525.tar.bz2
aports-9235b692827a0ae92558b107ab6129a0469da525.tar.xz
main/perl-digest-hmac: upgrade to 1.02
Diffstat (limited to 'main/perl-digest-hmac/APKBUILD')
-rw-r--r--main/perl-digest-hmac/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/perl-digest-hmac/APKBUILD b/main/perl-digest-hmac/APKBUILD
index f9538dc049..70717b7320 100644
--- a/main/perl-digest-hmac/APKBUILD
+++ b/main/perl-digest-hmac/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-digest-hmac
_realname=Digest-HMAC
-pkgver=1.01
+pkgver=1.02
pkgrel=0
pkgdesc="Keyed-Hashing for Message Authentication Perl module"
url="http://search.cpan.org/~gaas/Digest-HMAC-1.01/"
@@ -12,14 +12,18 @@ install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_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="32dc54c765100c638b5d7f7ff4c5c626 Digest-HMAC-1.01.tar.gz"
+md5sums="64c4b247d83cd64ec32aa22bf58a709b Digest-HMAC-1.02.tar.gz"