archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-digest-nilsimsa / repos / extra-x86_64 / PKGBUILD
blobf2a8647cb4ba962a99a418f950ad4ce6eaaf0034
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: kevin <kevin@archlinux.org>
3 # Contributor: Manolis Tzanidakis
5 pkgname=perl-digest-nilsimsa
6 pkgver=0.06
7 pkgrel=23
8 pkgdesc="Perl version of Nilsimsa code"
9 arch=('x86_64')
10 license=('LGPL')
11 url="https://search.cpan.org/dist/Digest-Nilsimsa/"
12 depends=('perl')
13 options=('!emptydirs')
14 source=("https://www.cpan.org/authors/id/V/VI/VIPUL/Digest-Nilsimsa-$pkgver.tar.gz")
15 sha256sums=('cd3762cd76803729fd42022d382bc93b26f9b14aed9732eef85b44a9576d2d1e')
17 build() {
18   cd Digest-Nilsimsa-$pkgver
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd Digest-Nilsimsa-$pkgver
25   make test
28 package() {
29   cd Digest-Nilsimsa-$pkgver
30   make install DESTDIR="$pkgdir"
32 # vim: ts=2 sw=2 et ft=sh