summaryrefslogtreecommitdiff
path: root/pcr/perl-pod-latex
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-23 05:42:04 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-23 05:42:04 +0100
commit2fb076c161b87fe1b3bc24d1cbd28643f915fa9b (patch)
treea6e419ef73de760ee8261474862d11eb4640e9e3 /pcr/perl-pod-latex
parentebd49f3b60414ae9f072ca441154078bc596acc2 (diff)
downloadabslibre-2fb076c161b87fe1b3bc24d1cbd28643f915fa9b.tar.gz
abslibre-2fb076c161b87fe1b3bc24d1cbd28643f915fa9b.tar.bz2
abslibre-2fb076c161b87fe1b3bc24d1cbd28643f915fa9b.zip
pcr/perl-pod-latex: added
Diffstat (limited to 'pcr/perl-pod-latex')
-rw-r--r--pcr/perl-pod-latex/PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/pcr/perl-pod-latex/PKGBUILD b/pcr/perl-pod-latex/PKGBUILD
new file mode 100644
index 000000000..812499fa0
--- /dev/null
+++ b/pcr/perl-pod-latex/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer (AUR): Moritz Bunkus <moritz@bunkus.org>
+
+# parabola changes and rationale:
+# no changes
+
+pkgname=perl-pod-latex
+pkgver='0.61'
+pkgrel='3'
+pkgdesc="Convert Pod data to formatted LaTeX"
+arch=(any)
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/Pod-LaTeX/"
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-module-build')
+source=("http://search.cpan.org/CPAN/authors/id/T/TJ/TJENNESS/Pod-LaTeX-${pkgver}.tar.gz")
+sha512sums=('c9b5d8b50f630e25e1f913d95d83a1323e71d2c5a3a794a543bdc9962800e5979b3e58595e7a653a96f9aea1f321c1564e2062e9b9d70d8c4d1c6729cb8df498')
+
+prepare_environment() {
+ 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}/Pod-LaTeX-${pkgver}"
+}
+
+build() {
+ prepare_environment
+ /usr/bin/perl Build.PL
+ ./Build
+}
+
+check() {
+ prepare_environment
+ ./Build test
+}
+
+package() {
+ prepare_environment
+ ./Build 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: