[arch-commits] Commit in dblatex/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Feb 13 21:38:09 UTC 2021


    Date: Saturday, February 13, 2021 @ 21:38:09
  Author: arojas
Revision: 859714

Update to 0.3.12

Modified:
  dblatex/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-13 21:29:05 UTC (rev 859713)
+++ PKGBUILD	2021-02-13 21:38:09 UTC (rev 859714)
@@ -3,21 +3,19 @@
 # Contributor: Andreas Hauser <andy-aur at 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
 }


More information about the arch-commits mailing list