updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-latexml / PKGBUILD
blobea186fb33bf89f7953133964f41f2ca7bb8ebf4b
1 pkgname=perl-latexml
2 _realname=LaTeXML
3 pkgver=0.7.0
4 pkgrel=1
5 pkgdesc="LaTeX to XML converter"
6 arch=(i686 x86_64)
7 license=('custom')
8 url="http://dlmf.nist.gov/LaTeXML/"
9 depends=('perl' 'perl-parse-recdescent' 'imagemagick' 'perl-xml-libxml' 'perl-xml-libxslt' 'db' 'texlive-core')
10 options=(!emptydirs)
11 source=(http://dlmf.nist.gov/$_realname/releases/$_realname-$pkgver.tar.gz)
13 build() {
14   cd ${srcdir}/${_realname}-${pkgver}
16   # install module in vendor directories.
17   #PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
18   perl Makefile.PL INSTALLDIRS=vendor || return 1
19   make  || return 1
20   make install DESTDIR=${pkgdir} || return 1
22   # remove perllocal.pod and .packlist
23   find ${pkgdir} -name perllocal.pod -delete
24   find ${pkgdir} -name .packlist -delete
26 # vim: ts=2 sw=2 et ft=sh
27 md5sums=('61fc79ed5391728c8b00465ab48c6697')