summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leontiev2013-08-23 16:58:29 +0400
committerAnton Leontiev2015-02-15 07:48:01 +0300
commitfc3bd3255631e7aa30fb785b89e3df36bc4dd222 (patch)
tree40efe72d34a714bb321c6c337bc4ebd01d19f8eb
downloadaur-fc3bd3255631e7aa30fb785b89e3df36bc4dd222.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD29
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4c0b2963ebe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = perl-algorithm-permute
+ pkgdesc = Perl module for handy and fast permutations with object oriented interface
+ pkgver = 0.12
+ pkgrel = 1
+ url = http://search.cpan.org/dist/Algorithm-Permute/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = perl
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/E/ED/EDPRATOMO/Algorithm-Permute-0.12.tar.gz
+ md5sums = 93c9e11af9511390379720fe046fb960
+
+pkgname = perl-algorithm-permute
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e6b6b4b8077
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*.tar.gz
+*.tar.bz2
+*.tar.xz
+*.tar.lz
+src/
+pkg/ \ No newline at end of file
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
+}