[arch-commits] Commit in perl-digest-sha1/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 09:34:37 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:34:36
  Author: felixonmars
Revision: 446711

archrelease: copy trunk to staging-x86_64

Added:
  perl-digest-sha1/repos/staging-x86_64/
  perl-digest-sha1/repos/staging-x86_64/PKGBUILD
    (from rev 446709, perl-digest-sha1/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: perl-digest-sha1/repos/staging-x86_64/PKGBUILD (from rev 446709, perl-digest-sha1/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-05-29 09:34:36 UTC (rev 446711)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-digest-sha1
+pkgver=2.13
+pkgrel=17
+pkgdesc="Perl interface to the SHA-1 Algorithm"
+arch=(x86_64)
+license=('PerlArtistic')
+url="https://search.cpan.org/dist/Digest-SHA1/"
+depends=('perl')
+options=('!emptydirs')
+source=("https://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-$pkgver.tar.gz")
+md5sums=('bd22388f268434f2b24f64e28bf1aa35')
+
+build() {
+  cd Digest-SHA1-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Digest-SHA1-$pkgver
+  make test
+}
+
+package() {
+  cd Digest-SHA1-$pkgver
+  make install DESTDIR="$pkgdir"
+}
+# vim: ts=2 sw=2 et ft=sh



More information about the arch-commits mailing list