Browse Source

[trunk] -> [community] 'dblatex-0.3.12-1' add

master
Dudemanguy 10 months ago
parent
commit
b32d78d0ac
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 14
      dblatex/trunk/PKGBUILD
  2. 14
      dblatex/x86_64/community/PKGBUILD

14
dblatex/trunk/PKGBUILD

@ -3,21 +3,19 @@
# Contributor: Andreas Hauser <andy-aur@splashground.de>
pkgname=dblatex
pkgver=0.3.11
pkgver=0.3.12
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'
depends=('docbook-xsl' 'docbook-xml' 'libxslt' 'python' '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=('0dbc76c05e4af8332cf3f9daba2e6650')
source=("https://downloads.sourceforge.net/project/dblatex/dblatex/${pkgname}-${pkgver}/${pkgname}3-${pkgver}.tar.bz2")
md5sums=('550adafd078432ff144b57d90c647714')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}3-${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"
python setup.py install --root "${pkgdir}" --catalogs=/etc/xml/docbook-xml
}

14
dblatex/x86_64/community/PKGBUILD

@ -3,21 +3,19 @@
# Contributor: Andreas Hauser <andy-aur@splashground.de>
pkgname=dblatex
pkgver=0.3.11
pkgver=0.3.12
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'
depends=('docbook-xsl' 'docbook-xml' 'libxslt' 'python' '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=('0dbc76c05e4af8332cf3f9daba2e6650')
source=("https://downloads.sourceforge.net/project/dblatex/dblatex/${pkgname}-${pkgver}/${pkgname}3-${pkgver}.tar.bz2")
md5sums=('550adafd078432ff144b57d90c647714')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}3-${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"
python setup.py install --root "${pkgdir}" --catalogs=/etc/xml/docbook-xml
}

Loading…
Cancel
Save