From 2d8bbc7e0c21bb42edeb4c78667e6548f9381c38 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 7 Mar 2018 13:17:35 +0000 Subject: dblatex: dep of vulkan-docs --- abs/extra/dblatex/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 abs/extra/dblatex/PKGBUILD 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 +# Contributor: Marcin Karpezo +# Contributor: Andreas Hauser + +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" +} -- cgit v0.12