initial import
This commit is contained in:
26
perl-digest-hmac/PKGBUILD
Normal file
26
perl-digest-hmac/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-digest-hmac
|
||||
_realname=Digest-HMAC
|
||||
pkgver=1.04
|
||||
pkgrel=1
|
||||
pkgdesc="Perl Module: Keyed-Hashing for Message Authentication."
|
||||
arch=('any')
|
||||
license=('GPL-1')
|
||||
url="https://search.cpan.org/dist/Digest-HMAC/"
|
||||
depends=('perl-digest-sha1' 'perl')
|
||||
options=(!emptydirs)
|
||||
source=("https://www.cpan.org/authors/id/A/AR/ARODLAND/Digest-HMAC-$pkgver.tar.gz")
|
||||
sha512sums=('d30b62e60bfa9f6c0f0c058e190938f13a08a70a816771a0641226c24045cb6dbd622756f1f88593fd3690442a45636bdcaf35457e9dfea6de5f8a342a538a6d')
|
||||
|
||||
build() {
|
||||
cd Digest-HMAC-$pkgver
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd Digest-HMAC-$pkgver
|
||||
make install DESTDIR="$pkgdir"
|
||||
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user