archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-digest-sha1 / trunk / PKGBUILD
blobe60f91dede34d01b8690c1d4513b396fa5ba51c3
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: kevin <kevin@archlinux.org>
3 # Contributor: Manolis Tzanidakis
5 pkgname=perl-digest-sha1
6 pkgver=2.13
7 pkgrel=18
8 pkgdesc="Perl interface to the SHA-1 Algorithm"
9 arch=(x86_64)
10 license=('PerlArtistic')
11 url="https://search.cpan.org/dist/Digest-SHA1/"
12 depends=('perl')
13 options=('!emptydirs')
14 source=("https://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-$pkgver.tar.gz")
15 sha256sums=('68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc')
17 build() {
18   cd Digest-SHA1-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd Digest-SHA1-$pkgver
25   make test
28 package() {
29   cd Digest-SHA1-$pkgver
30   make install DESTDIR="$pkgdir"
32 # vim: ts=2 sw=2 et ft=sh