summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-07 13:17:35 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-07 13:17:35 (GMT)
commit2d8bbc7e0c21bb42edeb4c78667e6548f9381c38 (patch)
tree451bb191521d6113e3d7b097bd0b064b20d28b17
parent3ac905120a11caea7cc96debebf7616c3372e734 (diff)
downloadlinhes_pkgbuild-2d8bbc7e0c21bb42edeb4c78667e6548f9381c38.zip
linhes_pkgbuild-2d8bbc7e0c21bb42edeb4c78667e6548f9381c38.tar.gz
linhes_pkgbuild-2d8bbc7e0c21bb42edeb4c78667e6548f9381c38.tar.bz2
dblatex: dep of vulkan-docs
-rw-r--r--abs/extra/dblatex/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra/dblatex/PKGBUILD b/abs/extra/dblatex/PKGBUILD
new file mode 100644
index 0000000..498c6a7
--- /dev/null
+++ b/abs/extra/dblatex/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
+# Contributor: Marcin Karpezo <sirmacik at gmail dot com>
+# Contributor: Andreas Hauser <andy-aur@splashground.de>
+
+pkgname=dblatex
+pkgver=0.3.10
+pkgrel=1
+pkgdesc='DocBook (XML and SGML) to DVI, PDF, PostScript converter using latex.'
+arch=('any')
+url='http://dblatex.sourceforge.net/'
+license=('GPL')
+depends=('docbook-xsl' 'docbook-xml' 'libxslt' 'python2' 'texlive-core' 'texlive-htmlxml'
+ 'texlive-latexextra' 'texlive-pictures' 'texlive-science')
+source=("https://downloads.sourceforge.net/project/dblatex/dblatex/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('437513c07101cefe5be3cbe83f313878')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ python2 setup.py install --root "${pkgdir}" --catalogs=/etc/xml/docbook-xml
+ sed -i -e "s,${pkgdir},," -e "s,#!/usr/bin/env python,#!/usr/bin/env python2," \
+ "${pkgdir}/usr/bin/dblatex"
+}