diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-03-22 22:10:53 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-03-22 22:10:53 (GMT) |
commit | fcc27b022b55e98ef9053c33501b7173fc193d55 (patch) | |
tree | 1f57cfc2c0c6a5fbad619175c73dc6c2ebc56112 /abs/core-testing/perl_modules/perl-digest-sha1/PKGBUILD | |
parent | bb605e913399be9c67bd063e49103663033f55e1 (diff) | |
download | linhes_pkgbuild-fcc27b022b55e98ef9053c33501b7173fc193d55.zip linhes_pkgbuild-fcc27b022b55e98ef9053c33501b7173fc193d55.tar.gz linhes_pkgbuild-fcc27b022b55e98ef9053c33501b7173fc193d55.tar.bz2 |
Various modules need for Shepherd.
Diffstat (limited to 'abs/core-testing/perl_modules/perl-digest-sha1/PKGBUILD')
-rw-r--r-- | abs/core-testing/perl_modules/perl-digest-sha1/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-digest-sha1/PKGBUILD b/abs/core-testing/perl_modules/perl-digest-sha1/PKGBUILD new file mode 100644 index 0000000..7a3a414 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-digest-sha1/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Kevin Piche <kevin@archlinux.org> +# Contributor: Manolis Tzanidakis + +pkgname=perl-digest-sha1 +_realname=Digest-SHA1 +pkgver=2.11 +pkgrel=3 +pkgdesc="Perl Module: Interface to the SHA-1 Algorithm." +arch=(i686 x86_64) +license=('PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl>=5.10.0') +options=(!emptydirs) +source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz) +replaces=('digest-sha1') +provides=('digest-sha1') +md5sums=('2449bfe21d6589c96eebf94dae24df6b') + +build() { + cd ${startdir}/src/${_realname}-${pkgver} + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR=${startdir}/pkg || return 1 + + # remove perllocal.pod and .packlist + find ${startdir}/pkg -name perllocal.pod -delete + find ${startdir}/pkg -name .packlist -delete +} +# vim: ts=2 sw=2 et ft=sh |