summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrás Wacha2016-11-09 08:48:20 +0100
committerAndrás Wacha2016-11-09 08:48:20 +0100
commitf97bdf67b9bd91d67b5e29cf69e216dae7b9c27f (patch)
tree6e4e8d49bc637a5497f912781c9aa70ea3887ef6
downloadaur-perl-regexp-assemble.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD50
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2b0a4af152f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = perl-regexp-assemble
+ pkgdesc = Assemble multiple Regular Expressions into a single RE
+ pkgver = 0.37
+ pkgrel = 1
+ url = https://metacpan.org/release/Regexp-Assemble
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ checkdepends = perl-test-pod>=1.48
+ depends = perl>=0
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Regexp-Assemble-0.37.tgz
+ md5sums = 2f7f232642f0f30f69983ef1316ecb42
+ sha512sums = 2b21154c814fec9b0fc0affc3c7751e17bd93e5d0b42c13379131498ea2c4ea340316a01045d936dbc9b0e8cfdb1afa7b778936083d04cc533766942fd46c407
+
+pkgname = perl-regexp-assemble
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..bd6ad272623
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+pkg/
+src/
+*.tar.gz
+*.pkg.tar.xz
+*~
+*.log \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..64310e75368
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Generator : CPANPLUS::Dist::Arch 1.32
+# Maintainer: András Wacha < awacha at gmail >
+
+pkgname='perl-regexp-assemble'
+pkgver='0.37'
+pkgrel='1'
+pkgdesc="Assemble multiple Regular Expressions into a single RE"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=0')
+makedepends=()
+checkdepends=('perl-test-pod>=1.48')
+url='https://metacpan.org/release/Regexp-Assemble'
+source=('http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Regexp-Assemble-0.37.tgz')
+md5sums=('2f7f232642f0f30f69983ef1316ecb42')
+sha512sums=('2b21154c814fec9b0fc0affc3c7751e17bd93e5d0b42c13379131498ea2c4ea340316a01045d936dbc9b0e8cfdb1afa7b778936083d04cc533766942fd46c407')
+_distdir="Regexp-Assemble-0.37"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: