[arch-commits] Commit in perl-digest-hmac/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 29 10:23:34 UTC 2022
Date: Sunday, May 29, 2022 @ 10:23:33
Author: felixonmars
Revision: 446774
archrelease: copy trunk to staging-any
Added:
perl-digest-hmac/repos/staging-any/
perl-digest-hmac/repos/staging-any/PKGBUILD
(from rev 446773, perl-digest-hmac/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-digest-hmac/repos/staging-any/PKGBUILD (from rev 446773, perl-digest-hmac/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2022-05-29 10:23:33 UTC (rev 446774)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-digest-hmac
+_realname=Digest-HMAC
+pkgver=1.04
+pkgrel=3
+pkgdesc="Perl Module: Keyed-Hashing for Message Authentication."
+arch=('any')
+license=('PerlArtistic')
+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
+}
+
+check() {
+ cd Digest-HMAC-$pkgver
+ make test
+}
+
+package() {
+ cd Digest-HMAC-$pkgver
+ make install DESTDIR="$pkgdir"
+}
+
+# vim: ts=2 sw=2 et ft=sh
More information about the arch-commits
mailing list