updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-algorithm-permute / PKGBUILD
blob579049df97554211ae539255c9cba5d4f194c5e5
1 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
2 pkgname=perl-algorithm-permute
3 pkgver=0.12
4 pkgrel=1
5 pkgdesc="Perl module for handy and fast permutations with object oriented interface"
6 arch=("i686" "x86_64")
7 license=("GPL")
8 url="http://search.cpan.org/dist/Algorithm-Permute/"
9 depends=("perl")
10 options=(!emptydirs)
11 source=(http://search.cpan.org/CPAN/authors/id/E/ED/EDPRATOMO/Algorithm-Permute-$pkgver.tar.gz)
12 md5sums=("93c9e11af9511390379720fe046fb960")
14 build() {
15   cd "$srcdir/Algorithm-Permute-$pkgver"
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 check() {
21   cd "$srcdir/Algorithm-Permute-$pkgver"
22   make test
25 package() {
26   cd "$srcdir/Algorithm-Permute-$pkgver"
27   make install DESTDIR="$pkgdir"