summaryrefslogtreecommitdiff
path: root/pcr/perl-regexp-common
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 04:11:20 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 04:11:20 -0300
commit6cbb4856878cd40a98b794d44c499ce24919ba9f (patch)
tree2519e02c824ebe19f49bca9c9e45c7d8542af72a /pcr/perl-regexp-common
parentb9c634c914000edcc3faba77b668a883582c386c (diff)
downloadabslibre-6cbb4856878cd40a98b794d44c499ce24919ba9f.tar.gz
abslibre-6cbb4856878cd40a98b794d44c499ce24919ba9f.tar.bz2
abslibre-6cbb4856878cd40a98b794d44c499ce24919ba9f.zip
add and update perl-* packages
Diffstat (limited to 'pcr/perl-regexp-common')
-rw-r--r--pcr/perl-regexp-common/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/perl-regexp-common/PKGBUILD b/pcr/perl-regexp-common/PKGBUILD
new file mode 100644
index 000000000..f8c4dfc1c
--- /dev/null
+++ b/pcr/perl-regexp-common/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer (Arch): Jason St. John <jstjohn .. purdue . edu>
+# Contributor (Arch): Caleb Cushing <xenoterracide@gmail.com>
+# Contributor : Márcio Silva <coadde@parabola.nu>
+
+_perlmod=Regexp-Common
+_modnamespace=Regexp
+pkgname=perl-regexp-common
+pkgver=2013031301
+pkgrel=4
+pkgdesc="Regexp::Common - Provides commonly requested regular expressions"
+arch=('any')
+url="http://search.cpan.org/dist/${_perlmod}"
+license=('MIT')
+options=('!emptydirs')
+source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz")
+sha512sums=('2fad761c169be76771856938a53f28dab232cb44cea4e22f56869754633f9a38f94568096ac0f21a885e6dd11049f401c8957b04929eee6802b8454c4fe4f62a')
+
+build() {
+ cd "${_perlmod}-${pkgver}"
+
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${_perlmod}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${_perlmod}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+}