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

Florian Pritz bluewind at archlinux.org
Sun May 27 07:43:13 UTC 2012


    Date: Sunday, May 27, 2012 @ 03:43:12
  Author: bluewind
Revision: 159884

db-move: moved perl-digest-sha1 from [staging] to [testing] (i686)

Added:
  perl-digest-sha1/repos/testing-i686/
  perl-digest-sha1/repos/testing-i686/PKGBUILD
    (from rev 159819, perl-digest-sha1/repos/staging-i686/PKGBUILD)
Deleted:
  perl-digest-sha1/repos/staging-i686/

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

Copied: perl-digest-sha1/repos/testing-i686/PKGBUILD (from rev 159819, perl-digest-sha1/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-05-27 07:43:12 UTC (rev 159884)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: kevin <kevin at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-digest-sha1
+_realname=Digest-SHA1
+pkgver=2.13
+pkgrel=3
+pkgdesc="Perl interface to the SHA-1 Algorithm"
+arch=(i686 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