summaryrefslogtreecommitdiff
path: root/pkgs/perl-regexp-common/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/perl-regexp-common/PKGBUILD')
-rw-r--r--pkgs/perl-regexp-common/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/perl-regexp-common/PKGBUILD b/pkgs/perl-regexp-common/PKGBUILD
new file mode 100644
index 0000000..c6dcfb8
--- /dev/null
+++ b/pkgs/perl-regexp-common/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: Caleb Cushing <xenoterracide@gmail.com>
+# Generator : CPANPLUS::Dist::Arch 0.16
+pkgname='perl-regexp-common'
+pkgver='2010010201'
+pkgrel='1'
+pkgdesc="Provide commonly requested regular expr."
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.cpan.org/dist/Regexp-Common'
+source=('http://search.cpan.org/CPAN/authors/id/A/AB/ABIGAIL/Regexp-Common-2010010201.tar.gz')
+md5sums=('e4267a626af781ed62c696f05b2b60f3')
+
+build() {
+ _DISTDIR="${srcdir}/Regexp-Common-2010010201"
+ export PERL_MM_USE_DEFAULT=1
+ { cd "$_DISTDIR" &&
+ perl Makefile.PL INSTALLDIRS=vendor &&
+ make &&
+ make test &&
+ make DESTDIR="${pkgdir}/" install;
+ } || return 1;
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}