mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
923 B
Bash
31 lines
923 B
Bash
# $Id: PKGBUILD 49625 2009-08-14 04:19:42Z kevin $
|
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
|
# Contributor: Manolis Tzanidakis
|
|
|
|
pkgname=perl-digest-sha1
|
|
_realname=Digest-SHA1
|
|
pkgver=2.12
|
|
pkgrel=1
|
|
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')
|
|
options=(!emptydirs)
|
|
source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
|
|
replaces=('digest-sha1')
|
|
provides=('digest-sha1')
|
|
md5sums=('eeb0292868801a202bd7ead87b291374')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|
|
# vim: ts=2 sw=2 et ft=sh
|