summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDenis A. AltoƩ Falqueto2015-06-29 17:35:59 -0300
committerDenis A. AltoƩ Falqueto2015-06-29 17:35:59 -0300
commit5e4f3d1726545c904006122dfa419361c9d56c04 (patch)
tree0e34a84f400257555c2aa90422f57a6cdb8285d8 /PKGBUILD
downloadaur-5e4f3d1726545c904006122dfa419361c9d56c04.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72b710a647d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=perl-latexml
+_realname=LaTeXML
+pkgver=0.8.0
+pkgrel=3
+pkgdesc="LaTeX to XML converter"
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://dlmf.nist.gov/LaTeXML/"
+depends=('perl' 'perl-parse-recdescent'
+ 'imagemagick' 'perl-xml-libxml'
+ 'perl-xml-libxslt' 'db' 'texlive-core'
+ 'perl-image-size' 'perl-file-which')
+options=(!emptydirs)
+source=("http://dlmf.nist.gov/$_realname/releases/$_realname-$pkgver.tar.gz")
+sha256sums=('a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORBIN=/usr/bin INSTALLVENDORSCRIPT=/usr/bin TEXMF=/usr/share/texmf
+ make
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+
+ # remove perllocal.pod and .packlist
+ find "${pkgdir}" -name perllocal.pod -delete
+ find "${pkgdir}" -name .packlist -delete
+}
+# vim: ts=2 sw=2 et ft=sh
+