diff options
Diffstat (limited to 'main/perl-digest-hmac/APKBUILD')
-rw-r--r-- | main/perl-digest-hmac/APKBUILD | 12 |
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" |