summaryrefslogtreecommitdiffstats
path: root/abs/extra/docbook-xsl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/docbook-xsl/PKGBUILD')
-rw-r--r--abs/extra/docbook-xsl/PKGBUILD54
1 files changed, 26 insertions, 28 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')