archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-digest-hmac / repos / extra-any / PKGBUILD
blobaf8622be22cb166da8d3281e4498c74073ea94de
1 # Maintainer: Felix Yan <felixonmars@gmail.com>
2 # Contributor: kevin <kevin@archlinux.org>
3 # Contributor: Manolis Tzanidakis
5 pkgname=perl-digest-hmac
6 _realname=Digest-HMAC
7 pkgver=1.04
8 pkgrel=3
9 pkgdesc="Perl Module: Keyed-Hashing for Message Authentication."
10 arch=('any')
11 license=('PerlArtistic')
12 url="https://search.cpan.org/dist/Digest-HMAC/"
13 depends=('perl-digest-sha1' 'perl')
14 options=(!emptydirs)
15 source=("https://www.cpan.org/authors/id/A/AR/ARODLAND/Digest-HMAC-$pkgver.tar.gz")
16 sha512sums=('d30b62e60bfa9f6c0f0c058e190938f13a08a70a816771a0641226c24045cb6dbd622756f1f88593fd3690442a45636bdcaf35457e9dfea6de5f8a342a538a6d')
18 build() {
19   cd Digest-HMAC-$pkgver
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd Digest-HMAC-$pkgver
26   make test
29 package() {
30   cd Digest-HMAC-$pkgver
31   make install DESTDIR="$pkgdir"
34 # vim: ts=2 sw=2 et ft=sh