From 87520208ddc4dfb339ae2969b1055dfc378c3080 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 7 Aug 2012 14:45:31 -0500 Subject: docbook-xsl 1.77.1 --- abs/extra/docbook-xsl/PKGBUILD | 54 +++++++++++++++---------------- abs/extra/docbook-xsl/docbook-xsl.install | 10 ++---- 2 files changed, 28 insertions(+), 36 deletions(-) diff --git a/abs/extra/docbook-xsl/PKGBUILD b/abs/extra/docbook-xsl/PKGBUILD index 1f0f684..aef4b1e 100644 --- a/abs/extra/docbook-xsl/PKGBUILD +++ b/abs/extra/docbook-xsl/PKGBUILD @@ -1,37 +1,35 @@ -# $Id: PKGBUILD 20950 2008-12-08 05:32:07Z allan $ -# Maintainer: Jan de Groot -# Contributer: Sean Middleditch +# $Id: PKGBUILD 162687 2012-06-27 22:24:21Z tomegun $ +# Maintainer: Tom Gundersen +# Contributor: Jan de Groot +# Contributor: Sean Middleditch +# Contributor: Daniel J Griffiths pkgname=docbook-xsl -pkgver=1.76.0 -pkgrel=1 -pkgdesc="XML stylesheets for Docbook-xml transformations." -arch=(i686 x86_64) +pkgver=1.77.1 +pkgrel=2 +pkgdesc='XML stylesheets for Docbook-xml transformations' +arch=('any') license=('custom') -url="http://scrollkeeper.sourceforge.net/docbook.shtml" +url='http://docbook.sourceforge.net/' depends=('libxml2' 'libxslt' 'docbook-xml') -source=(http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-${pkgver}.tar.bz2) -install=docbook-xsl.install +install="$pkgname.install" +source=("http://downloads.sourceforge.net/docbook/${pkgname}-${pkgver}.tar.bz2") -build() { - cd ${srcdir}/${pkgname}-${pkgver} - mkdir -p ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/common - install -m644 common/*.{xml,xsl,dtd,ent} ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/common/ +package() { + cd ${srcdir}/${pkgname}-${pkgver} - mkdir -p ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/params - install -m644 params/*.xml ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/params/ + _pkgroot=${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver} - for fn in fo highlighting html roundtrip; do - mkdir -p ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/${fn} - install -m644 ${fn}/*.{xml,xsl} ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/${fn}/ - done - for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml; do - mkdir -p ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/${fn} - install -m644 ${fn}/*.xsl ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/${fn}/ - done - mkdir -p ${pkgdir}/etc/xml - install -m644 VERSION ${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}/ + install -dm755 ${_pkgroot} + install -m644 VERSION VERSION.xsl ${_pkgroot} - install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING + for fn in assembly common eclipse epub epub3 fo highlighting html htmlhelp javahelp lib \ + manpages params profiling roundtrip template website xhtml xhtml-1_1 xhtml5; do + install -dm755 ${_pkgroot}/${fn} + install -m644 ${fn}/*.{xml,xsl,dtd,ent} ${_pkgroot}/${fn} || true # ignore missing files + done + + install -dm755 ${pkgdir}/etc/xml + install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } -md5sums=('6413843525fcaa7f58e4bd30d5192270') +md5sums=('a88dbdc0cd74702656083b6e4e4241d8') diff --git a/abs/extra/docbook-xsl/docbook-xsl.install b/abs/extra/docbook-xsl/docbook-xsl.install index a8ea3e7..c84d929 100644 --- a/abs/extra/docbook-xsl/docbook-xsl.install +++ b/abs/extra/docbook-xsl/docbook-xsl.install @@ -1,6 +1,6 @@ post_install() { - if [ ! -f /etc/xml/catalog ]; then - xmlcatalog --noout --create /etc/xml/catalog + if [ ! -f etc/xml/catalog ]; then + xmlcatalog --noout --create etc/xml/catalog fi _NEW=`echo $1 | sed 's|\(.*\)\-.*|\1|'` @@ -39,9 +39,3 @@ post_remove() { xmlcatalog --noout --del "file:///etc/xml/docbook" etc/xml/catalog fi } - -op=$1 -shift - -$op $* - -- cgit v0.12