summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..feb1978cb00
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}