summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 05:39:05 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 05:39:55 -0300
commit6580016af960596a9cf6539af8d822109bde1432 (patch)
tree1f64e00ab53b445f54538e859af338343dd82225 /pcr
parente80923377b8b33b0459e252c56fb944eebf30a68 (diff)
downloadabslibre-6580016af960596a9cf6539af8d822109bde1432.tar.gz
abslibre-6580016af960596a9cf6539af8d822109bde1432.tar.bz2
abslibre-6580016af960596a9cf6539af8d822109bde1432.zip
add perl-tie-cycle to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/perl-tie-cycle/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/perl-tie-cycle/PKGBUILD b/pcr/perl-tie-cycle/PKGBUILD
new file mode 100644
index 000000000..c89e4f193
--- /dev/null
+++ b/pcr/perl-tie-cycle/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer (Arch): Christoph Vigano <mail@cvigano.de>
+# Contributor : Márcio Silva <coadde@parabola.nu>
+
+_author=BDFOY
+_perlmod=Tie-Cycle
+pkgname=perl-tie-cycle
+pkgver=1.21
+pkgrel=1
+pkgdesc="Cycle through a list of values via a scalar"
+arch=('any')
+url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
+license=('GPL1')
+depends=('perl>=5.10.0')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Tie-Cycle-$pkgver.tar.gz)
+sha256sums=('1e94c98d7e6cbb1263d3defc9d0e9b6e6fc97dc8bb8acc29df82e8005a6d3564')
+
+build() {
+ cd "$srcdir/$_perlmod-$pkgver"
+
+ # Install module in vendor directories.
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ /usr/bin/perl Makefile.PL &&
+ make
+}
+
+package() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et: