[arch-commits] Commit in dblatex/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Feb 7 23:47:36 UTC 2016
Date: Monday, February 8, 2016 @ 00:47:35
Author: foutrelis
Revision: 160551
archrelease: copy trunk to community-staging-any
Added:
dblatex/repos/community-staging-any/
dblatex/repos/community-staging-any/PKGBUILD
(from rev 160550, dblatex/trunk/PKGBUILD)
dblatex/repos/community-staging-any/dblatex-0.3.4-build-fix.patch
(from rev 160550, dblatex/trunk/dblatex-0.3.4-build-fix.patch)
-------------------------------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
dblatex-0.3.4-build-fix.patch | 14 ++++++++++++++
2 files changed, 42 insertions(+)
Copied: dblatex/repos/community-staging-any/PKGBUILD (from rev 160550, dblatex/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-02-07 23:47:35 UTC (rev 160551)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Marcin Karpezo <sirmacik at gmail dot com>
+# Contributor: Andreas Hauser <andy-aur at splashground.de>
+
+pkgname=dblatex
+pkgver=0.3.4
+pkgrel=3
+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')
+source=("http://downloads.sourceforge.net/project/dblatex/dblatex/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2"
+ 'dblatex-0.3.4-build-fix.patch')
+md5sums=('a511a2eaa55757b341e4c46353c5c681'
+ '3784801bcfdea61ee45e92bdfc905d4a')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np0 -i ../dblatex-0.3.4-build-fix.patch
+
+ 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"
+}
Copied: dblatex/repos/community-staging-any/dblatex-0.3.4-build-fix.patch (from rev 160550, dblatex/trunk/dblatex-0.3.4-build-fix.patch)
===================================================================
--- community-staging-any/dblatex-0.3.4-build-fix.patch (rev 0)
+++ community-staging-any/dblatex-0.3.4-build-fix.patch 2016-02-07 23:47:35 UTC (rev 160551)
@@ -0,0 +1,14 @@
+--- setup.py.old 2012-11-08 20:33:26.224458028 +0100
++++ setup.py 2012-11-08 20:33:41.656633881 +0100
+@@ -365,10 +365,7 @@ class Install(install):
+ raise OSError("not found: %s" % ", ".join(mis_stys))
+
+ def run(self):
+- if self.install_layout == "deb":
+- db = DebianInstaller(self)
+- else:
+- db = None
++ db = None
+
+ if not(db) and not(self.nodeps):
+ try:
More information about the arch-commits
mailing list