summaryrefslogtreecommitdiff
path: root/extra/perl-digest-sha1
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-04 13:43:14 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-04 13:43:14 -0300
commitcbba2111ae585b17594535ec01f13bac66937331 (patch)
treef097dd36996ae3c7c96c9f91c1dd428670572b80 /extra/perl-digest-sha1
parentabcaa80b2d3bb539503c485bfea891adc7ffc193 (diff)
parent1e6588d64f084decf287a58b7ff93ff0ce4d0446 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/multipath-tools/PKGBUILD community/perl-gnome2-wnck/PKGBUILD community/znc/PKGBUILD core/openldap/PKGBUILD extra/mod_perl/PKGBUILD extra/perl-digest-nilsimsa/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/postgresql/PKGBUILD extra/vim/PKGBUILD extra/xcb-util-keysyms/PKGBUILD extra/xcb-util-wm/PKGBUILD extra/xournal/PKGBUILD kde-unstable/kdepim/PKGBUILD multilib/lib32-libx11/PKGBUILD multilib/lib32-libxft/PKGBUILD multilib/lib32-xcb-util/PKGBUILD
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 f6218022a..33ae605ee 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 'mips64el')
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