blob: 62097190f7ba32eacf35addd10dc01b567eecb37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 186402 2013-05-26 09:25:08Z bluewind $
# Maintainer:
# Contributor: kevin <kevin@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=perl-digest-nilsimsa
_realname=Digest-Nilsimsa
pkgver=0.06
pkgrel=9
pkgdesc="Perl version of Nilsimsa code"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl')
replaces=('digest-nilsimsa')
provides=('digest-nilsimsa')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/V/VI/VIPUL/${_realname}-${pkgver}.tar.gz)
md5sums=('08e940bd7f5d1167ef3fd1aa7ce234d7')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/${_realname}-${pkgver}"
make test
}
package() {
cd "${srcdir}/${_realname}-${pkgver}"
make install DESTDIR="${pkgdir}"
}
# vim: ts=2 sw=2 et ft=sh
|