summaryrefslogtreecommitdiff
path: root/pcr/perl-latex-encode/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-16 22:03:54 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-16 22:03:54 +0100
commitd503056ff0810f0e9a4d7430dd9a99ef666240d9 (patch)
treece61331f893f95b1d3ae90eb3ea8e00adf2aa546 /pcr/perl-latex-encode/PKGBUILD
parent0f2c3b17c081339b0c78fc54aa64a13a6b7e7c6e (diff)
parent99c34471cedb5de3afae4e33c48239abbe1410c7 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/gtk-engine-unico/PKGBUILD community/libfm/PKGBUILD community/lxlauncher/PKGBUILD community/lxpanel/PKGBUILD community/ncmpcpp/PKGBUILD community/sshguard/PKGBUILD
Diffstat (limited to 'pcr/perl-latex-encode/PKGBUILD')
-rw-r--r--pcr/perl-latex-encode/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/perl-latex-encode/PKGBUILD b/pcr/perl-latex-encode/PKGBUILD
new file mode 100644
index 000000000..ef7d98b37
--- /dev/null
+++ b/pcr/perl-latex-encode/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Moritz Bunkus <moritz@bunkus.org>
+
+pkgname=perl-latex-encode
+pkgver=0.08
+pkgrel=1
+pkgdesc="Encode characters for LaTeX formatting"
+arch=(any)
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/Rose-Object/"
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/A/AN/ANDREWF/LaTeX-Encode-${pkgver}.tar.gz)
+md5sums=('0877ff573bbacdfcd6ceb130c4282ab6')
+sha1sums=('9d11a38a4eb07c86b6cc026a2163b7299bc64631')
+
+build() {
+ cd ${srcdir}/LaTeX-Encode-${pkgver}
+
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd ${srcdir}/LaTeX-Encode-${pkgver}
+ make install DESTDIR=${pkgdir}
+
+ # remove perllocal.pod and .packlist
+ find ${pkgdir} '(' -name perllocal.pod -o -name .packlist ')' -delete
+}