summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaHIY2015-08-20 20:41:25 +0800
committerJaHIY2015-08-20 20:41:25 +0800
commit96d8aa82f97f1f7527640c350b8de4cdd3c85354 (patch)
treea088f7d0741d3f29e75e01e8c6f67406406b585e
downloadaur-96d8aa82f97f1f7527640c350b8de4cdd3c85354.tar.gz
Initial import
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD37
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..18494711eef
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = perl-pod-elemental-perlmunger
+ pkgdesc = a thing that takes a string of Perl and rewrites its documentation
+ pkgver = 0.200002
+ pkgrel = 1
+ url = https://metacpan.org/release/Pod-Elemental-PerlMunger
+ arch = any
+ license = PerlArtistic
+ checkdepends = perl-test-simple>=0.96
+ checkdepends = perl-pod-elemental>=0.103000
+ checkdepends = perl-version>=0
+ checkdepends = perl-moose>=0
+ checkdepends = perl-pathtools>=0
+ checkdepends = perl-extutils-makemaker>=0
+ checkdepends = perl-scalar-list-utils>=0
+ depends = perl
+ depends = perl-encode>=0
+ depends = perl-pod-elemental>=0.103000
+ depends = perl-moose>=0
+ depends = perl-ppi>=0
+ depends = perl-params-util>=0
+ depends = perl-list-allutils>=0
+ depends = perl-namespace-autoclean>=0
+ options = !emptydirs
+ options = purge
+ source = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Pod-Elemental-PerlMunger-0.200002.tar.gz
+ sha256sums = 10d4adaaf293574907f1317e4b6cf992a520dee0bdcbd4d25137f96cbc80d3d4
+
+pkgname = perl-pod-elemental-perlmunger
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b8afedc8eae
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Kars Wang <jaklsy AT gmail.com>
+
+pkgname='perl-pod-elemental-perlmunger'
+pkgver=0.200002
+pkgrel=1
+pkgdesc='a thing that takes a string of Perl and rewrites its documentation'
+_dist='Pod-Elemental-PerlMunger'
+arch=('any')
+url="https://metacpan.org/release/$_dist"
+license=('PerlArtistic')
+depends=('perl' 'perl-encode>=0' 'perl-pod-elemental>=0.103000' 'perl-moose>=0' 'perl-ppi>=0' 'perl-params-util>=0' 'perl-list-allutils>=0' 'perl-namespace-autoclean>=0')
+checkdepends=('perl-test-simple>=0.96' 'perl-pod-elemental>=0.103000' 'perl-version>=0' 'perl-moose>=0' 'perl-pathtools>=0' 'perl-extutils-makemaker>=0' 'perl-scalar-list-utils>=0')
+provides=()
+options=('!emptydirs' 'purge')
+source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_dist-$pkgver.tar.gz")
+sha256sums=('10d4adaaf293574907f1317e4b6cf992a520dee0bdcbd4d25137f96cbc80d3d4')
+
+build() (
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ /usr/bin/perl Makefile.PL
+ make
+)
+
+check() (
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+)
+
+package() (
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+)