summaryrefslogtreecommitdiff
path: root/extra/perl-digest-sha1
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
commit1e6588d64f084decf287a58b7ff93ff0ce4d0446 (patch)
tree29bf5b8778e1eb67871d9e6e8bb6e205bdde5db7 /extra/perl-digest-sha1
parent80053e720288b6205a59c52c1b31c14a0f830989 (diff)
Mon Jun 4 00:01:23 UTC 2012
Diffstat (limited to 'extra/perl-digest-sha1')
-rw-r--r--extra/perl-digest-sha1/PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/extra/perl-digest-sha1/PKGBUILD b/extra/perl-digest-sha1/PKGBUILD
index eaae5e528..e35269169 100644
--- a/extra/perl-digest-sha1/PKGBUILD
+++ b/extra/perl-digest-sha1/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 125255 2011-05-25 19:17:02Z foutrelis $
+# $Id: PKGBUILD 160525 2012-06-02 10:27:28Z bluewind $
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=perl-digest-sha1
_realname=Digest-SHA1
pkgver=2.13
-pkgrel=2
+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>=5.10.0')
+depends=('perl')
options=(!emptydirs)
source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
replaces=('digest-sha1')
@@ -18,21 +18,20 @@ provides=('digest-sha1')
md5sums=('bd22388f268434f2b24f64e28bf1aa35')
build() {
- cd ${srcdir}/${_realname}-${pkgver}
+ 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}
-
- # remove perllocal.pod and .packlist
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
}
# vim: ts=2 sw=2 et ft=sh