summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Rogoża2015-06-14 15:42:39 +0200
committerPiotr Rogoża2015-06-14 15:42:39 +0200
commitde4d61de78d41249b310efe80533577488b1df9f (patch)
tree51093f42fac8363c941c1c3147e9ed0bbd4b873b
downloadaur-de4d61de78d41249b310efe80533577488b1df9f.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD46
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..87f2bb3d56e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = perl-padre-plugin-regexexplain
+ pkgdesc = Padre::Plugin::RegexExplain - A Padre plugin for Regex explainations
+ pkgver = 0.02
+ pkgrel = 2
+ url = http://search.cpan.org/~reneeb/Padre-Plugin-RegexExplain
+ arch = any
+ license = GPL
+ license = PerlArtistic
+ makedepends = perl
+ depends = perl-padre
+ depends = perl-yape-regex-explain
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/R/RE/RENEEB/Padre-Plugin-RegexExplain-0.02.tar.gz
+ md5sums = f7517ca0b8ea1d8d8544bff905c93f1c
+
+pkgname = perl-padre-plugin-regexexplain
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7ac062bd450
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
+
+_author=R/RE/RENEEB
+_perlmod=Padre-Plugin-RegexExplain
+pkgname=perl-padre-plugin-regexexplain
+pkgver=0.02
+pkgrel=2
+pkgdesc='Padre::Plugin::RegexExplain - A Padre plugin for Regex explainations'
+arch=('any')
+url="http://search.cpan.org/~reneeb/Padre-Plugin-RegexExplain"
+license=('GPL' 'PerlArtistic')
+groups=()
+depends=(
+perl-padre
+perl-yape-regex-explain
+)
+makedepends=(
+perl
+)
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz")
+noextract=()
+
+build(){
+ cd "$srcdir/$_perlmod-$pkgver"
+
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+
+}
+check(){
+ cd "$srcdir/$_perlmod-$pkgver"
+ make test
+}
+package(){
+ cd "$srcdir/$_perlmod-$pkgver"
+ make install DESTDIR="$pkgdir/"
+
+ # remove perllocal.pod and .packlist
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+md5sums=('f7517ca0b8ea1d8d8544bff905c93f1c')