summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-05-01 17:50:09 +0200
committerhaawda2018-05-01 17:50:09 +0200
commit5815de6772d1fe54b39ec0ba82e189c854f235e4 (patch)
tree7efc8613b3867773e71189fe952f89f71ccf09bb
parent3e925af98acad53435b3935c4e9b466c35000914 (diff)
downloadaur-5815de6772d1fe54b39ec0ba82e189c854f235e4.tar.gz
Adopted, add dependancy and license file
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD28
2 files changed, 20 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aec6eb3b72b..cb56d3822c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = perl-latexml
pkgdesc = LaTeX to XML converter
pkgver = 0.8.2
- pkgrel = 1
+ pkgrel = 2
url = http://dlmf.nist.gov/LaTeXML/
- arch = i686
- arch = x86_64
+ arch = any
license = custom
depends = perl
depends = perl-parse-recdescent
- depends = imagemagick
+ depends = perl-text-unidecode
+ depends = imagemagick6
depends = perl-xml-libxml
depends = perl-xml-libxslt
depends = db
diff --git a/PKGBUILD b/PKGBUILD
index 5b9ab9d1fa9..80e9a9ec901 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,25 @@
# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
pkgname=perl-latexml
_realname=LaTeXML
pkgver=0.8.2
-pkgrel=1
+pkgrel=2
pkgdesc="LaTeX to XML converter"
-arch=('i686' 'x86_64')
+arch=('any')
license=('custom')
url="http://dlmf.nist.gov/LaTeXML/"
-depends=('perl' 'perl-parse-recdescent'
- 'imagemagick' 'perl-xml-libxml'
+depends=('perl' 'perl-parse-recdescent' 'perl-text-unidecode'
+ 'imagemagick6' 'perl-xml-libxml'
'perl-xml-libxslt' 'db' 'texlive-core'
'perl-image-size' 'perl-file-which'
'perl-libwww' 'perl-io-string' 'perl-archive-zip')
-options=(!emptydirs)
+options=('!emptydirs')
source=("http://dlmf.nist.gov/$_realname/releases/$_realname-$pkgver.tar.gz")
sha512sums=('521134f7b3820c2cbf8fbf60778f03f40b8bb6900311d82da986e8dd3ee1a0d518ef9bb4b852bd95a5bac758bb65b159218602f4adf454c77dfbf6280a4bd1a4')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd ${_realname}-$pkgver
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORBIN=/usr/bin INSTALLVENDORSCRIPT=/usr/bin TEXMF=/usr/share/texmf
@@ -25,12 +27,14 @@ build() {
}
package() {
- cd "${srcdir}/${_realname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
+ cd ${_realname}-$pkgver
+ make install DESTDIR="$pkgdir"
# remove perllocal.pod and .packlist
- find "${pkgdir}" -name perllocal.pod -delete
- find "${pkgdir}" -name .packlist -delete
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
+ # add liense file
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ # add manual
+ install -Dm644 manual.pdf "$pkgdir"/usr/share/$pkgname/doc/manual.pdf
}
-# vim: ts=2 sw=2 et ft=sh
-