blob: feb1978cb00629e0e8264c9b5f7355f306f1f52a (
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
|
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
pkgname=perl-algorithm-permute
pkgver=0.12
pkgrel=1
pkgdesc="Perl module for handy and fast permutations with object oriented interface"
arch=("i686" "x86_64")
license=("GPL")
url="http://search.cpan.org/dist/Algorithm-Permute/"
depends=("perl")
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/E/ED/EDPRATOMO/Algorithm-Permute-$pkgver.tar.gz)
md5sums=("93c9e11af9511390379720fe046fb960")
build() {
cd "$srcdir/Algorithm-Permute-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$srcdir/Algorithm-Permute-$pkgver"
make test
}
package() {
cd "$srcdir/Algorithm-Permute-$pkgver"
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
|