diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 19:45:31 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 19:45:31 (GMT) |
commit | 87520208ddc4dfb339ae2969b1055dfc378c3080 (patch) | |
tree | 589b9fba22c53b59bbdc32c6438540468624ed74 /abs | |
parent | ffa5e21f8c83c6bb9d1c9bbe060b177d42e22bd4 (diff) | |
download | linhes_pkgbuild-87520208ddc4dfb339ae2969b1055dfc378c3080.zip linhes_pkgbuild-87520208ddc4dfb339ae2969b1055dfc378c3080.tar.gz linhes_pkgbuild-87520208ddc4dfb339ae2969b1055dfc378c3080.tar.bz2 |
docbook-xsl 1.77.1
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/docbook-xsl/PKGBUILD | 54 | ||||
-rw-r--r-- | 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 <jgc@archlinux.org> -# Contributer: Sean Middleditch <elanthis@awesomeplay.com> +# $Id: PKGBUILD 162687 2012-06-27 22:24:21Z tomegun $ +# Maintainer: Tom Gundersen <teg@jklm.no> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Sean Middleditch <elanthis@awesomeplay.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> 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 $* - |