[arch-commits] Commit in perl-digest-sha1/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Aug 1 09:10:41 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:10:40
Author: felixonmars
Revision: 329992
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 329991, perl-digest-sha1/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: perl-digest-sha1/repos/staging-x86_64/PKGBUILD (from rev 329991, perl-digest-sha1/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-08-01 09:10:40 UTC (rev 329992)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-digest-sha1
+_realname=Digest-SHA1
+pkgver=2.13
+pkgrel=11
+pkgdesc="Perl interface to the SHA-1 Algorithm"
+arch=(x86_64)
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
+replaces=('digest-sha1')
+provides=('digest-sha1')
+md5sums=('bd22388f268434f2b24f64e28bf1aa35')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+}
+# vim: ts=2 sw=2 et ft=sh
More information about the arch-commits
mailing list