summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-08 16:52:33 +0200
committerErich Eckner <git@eckner.net>2016-04-11 11:29:20 +0200
commit4401934ec7db4ec072fd3feb04448ba59c915c67 (patch)
tree481d8a638a6a496f8d52476e5bf203d543b5cbfb
parentf4a41e90c95c1242001ba9f2db8604585d5ed4a1 (diff)
downloadarchlinuxewe-4401934ec7db4ec072fd3feb04448ba59c915c67.tar.xz
perl-pod-projectdocs neu
-rw-r--r--perl-pod-projectdocs/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/perl-pod-projectdocs/PKGBUILD b/perl-pod-projectdocs/PKGBUILD
new file mode 100644
index 000000000..6a6702cf7
--- /dev/null
+++ b/perl-pod-projectdocs/PKGBUILD
@@ -0,0 +1,47 @@
+pkgname='perl-pod-projectdocs'
+pkgver='0.40'
+pkgrel='1'
+pkgdesc="generates CPAN like pod pages"
+arch=('x86_64' 'i686')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-class-accessor' 'perl-class-data-inheritable' 'perl-readonly' 'perl-template-toolkit')
+checkdepends=('perl-json' 'perl-uri-escape')
+url='http://search.cpan.org/~lyokato/Pod-ProjectDocs-0.40/'
+source=("http://search.mcpan.org/CPAN/authors/id/L/LY/LYOKATO/Pod-ProjectDocs-${pkgver}.tar.gz")
+sha512sums=('b62156c491707aa355f2b1136b073f10c3b96ae2c86350552f7638d0ba5799a18ec30772a1121959c207934084b6343b331db0a40df2c54bbd7d3d80f1950aa3')
+_distdir="Pod-ProjectDocs-${pkgver}"
+
+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: