[arch-commits] Commit in docbook-xsl/repos/extra-any (4 files)

Andrea Scarpino andrea at archlinux.org
Wed Feb 8 10:09:48 EST 2012


    Date: Wednesday, February 8, 2012 @ 10:09:48
  Author: andrea
Revision: 149585

archrelease: copy trunk to extra-any

Added:
  docbook-xsl/repos/extra-any/PKGBUILD
    (from rev 149584, docbook-xsl/trunk/PKGBUILD)
  docbook-xsl/repos/extra-any/docbook-xsl.install
    (from rev 149584, docbook-xsl/trunk/docbook-xsl.install)
Deleted:
  docbook-xsl/repos/extra-any/PKGBUILD
  docbook-xsl/repos/extra-any/docbook-xsl.install

---------------------+
 PKGBUILD            |   83 ++++++++++++++++++++++++--------------------------
 docbook-xsl.install |   82 ++++++++++++++++++++++++-------------------------
 2 files changed, 81 insertions(+), 84 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-08 15:09:33 UTC (rev 149584)
+++ PKGBUILD	2012-02-08 15:09:48 UTC (rev 149585)
@@ -1,43 +0,0 @@
-# $Id$
-# Contributer: Jan de Groot <jgc at archlinux.org>
-# Contributer: Sean Middleditch <elanthis at awesomeplay.com>
-# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=docbook-xsl
-pkgver=1.76.1
-pkgrel=1
-pkgdesc='XML stylesheets for Docbook-xml transformations.'
-arch=('any')
-license=('custom')
-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
-md5sums=('b5340507cb240cc7ce00632b9c40bff5')
-
-build() {
-	/bin/true
-}
-
-package() {
-	pkgroot=${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}
-
-	cd ${srcdir}/${pkgname}-${pkgver}
-	install -dm755 ${pkgroot}/{common,params}
-	install -m644 common/*.{xml,xsl,dtd,ent} ${pkgroot}/common/
-	install -m644 params/*.xml ${pkgroot}/params/
-
-	for fn in fo highlighting html roundtrip; do
-		install -dm755 ${pkgroot}/${fn}
-		install -m644 ${fn}/*.{xml,xsl} ${pkgroot}/${fn}/
-	done
-
-	for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml{,-1_1}; do
-		install -dm755 ${pkgroot}/${fn}
-		install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/
-	done
-
-	install -dm755 ${pkgdir}/etc/xml
-	install -m644 VERSION ${pkgroot}/
-	install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
-}

Copied: docbook-xsl/repos/extra-any/PKGBUILD (from rev 149584, docbook-xsl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2012-02-08 15:09:48 UTC (rev 149585)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Sean Middleditch <elanthis at awesomeplay.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=docbook-xsl
+pkgver=1.76.1
+pkgrel=2
+pkgdesc='XML stylesheets for Docbook-xml transformations'
+arch=('any')
+license=('custom')
+url='http://docbook.sourceforge.net/'
+depends=('libxml2' 'libxslt' 'docbook-xml')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/docbook/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('b5340507cb240cc7ce00632b9c40bff5')
+
+package() {
+	_pkgroot=${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}
+
+	cd ${srcdir}/${pkgname}-${pkgver}
+	install -dm755 ${_pkgroot}/{common,params}
+	install -m644 common/*.{xml,xsl,dtd,ent} ${_pkgroot}/common/
+	install -m644 params/*.xml ${_pkgroot}/params/
+
+	for fn in fo highlighting html roundtrip; do
+		install -dm755 ${_pkgroot}/${fn}
+		install -m644 ${fn}/*.{xml,xsl} ${_pkgroot}/${fn}/
+	done
+
+	for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml{,-1_1}; do
+		install -dm755 ${_pkgroot}/${fn}
+		install -m644 ${fn}/*.xsl ${_pkgroot}/${fn}/
+	done
+
+	install -dm755 ${pkgdir}/etc/xml
+	install -m644 VERSION ${_pkgroot}/
+	install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}

Deleted: docbook-xsl.install
===================================================================
--- docbook-xsl.install	2012-02-08 15:09:33 UTC (rev 149584)
+++ docbook-xsl.install	2012-02-08 15:09:48 UTC (rev 149585)
@@ -1,41 +0,0 @@
-post_install() {
-  if [ ! -f /etc/xml/catalog ]; then
-    xmlcatalog --noout --create /etc/xml/catalog
-  fi
-  _NEW=`echo $1 | sed 's|\(.*\)\-.*|\1|'`
-
-  xmlcatalog --noout --add "rewriteSystem" \
-    "http://docbook.sourceforge.net/release/xsl/${_NEW}" \
-    "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
-    etc/xml/catalog
-
-  xmlcatalog --noout --add "rewriteURI" \
-    "http://docbook.sourceforge.net/release/xsl/${_NEW}" \
-    "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
-    etc/xml/catalog &&
-
-  xmlcatalog --noout --add "rewriteSystem" \
-    "http://docbook.sourceforge.net/release/xsl/current" \
-    "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
-    etc/xml/catalog &&
-
-  xmlcatalog --noout --add "rewriteURI" \
-    "http://docbook.sourceforge.net/release/xsl/current" \
-    "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
-    etc/xml/catalog
-}
-
-post_upgrade() {
-  post_remove $2
-  post_install $1
-}
-
-post_remove() {
-  _OLD=`echo $1 | sed 's|\(.*\)\-.*|\1|'`
-  xmlcatalog --noout --del "/usr/share/xml/docbook/xsl-stylesheets-${_OLD}" etc/xml/catalog
-
-  if [ $(vercmp $1 1.72.0-3) -lt 0 ]; then
-    xmlcatalog --noout --del "/usr/share/xml/docbook" etc/xml/catalog
-    xmlcatalog --noout --del "file:///etc/xml/docbook" etc/xml/catalog
-  fi
-}

Copied: docbook-xsl/repos/extra-any/docbook-xsl.install (from rev 149584, docbook-xsl/trunk/docbook-xsl.install)
===================================================================
--- docbook-xsl.install	                        (rev 0)
+++ docbook-xsl.install	2012-02-08 15:09:48 UTC (rev 149585)
@@ -0,0 +1,41 @@
+post_install() {
+  if [ ! -f etc/xml/catalog ]; then
+    xmlcatalog --noout --create etc/xml/catalog
+  fi
+  _NEW=`echo $1 | sed 's|\(.*\)\-.*|\1|'`
+
+  xmlcatalog --noout --add "rewriteSystem" \
+    "http://docbook.sourceforge.net/release/xsl/${_NEW}" \
+    "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
+    etc/xml/catalog
+
+  xmlcatalog --noout --add "rewriteURI" \
+    "http://docbook.sourceforge.net/release/xsl/${_NEW}" \
+    "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
+    etc/xml/catalog &&
+
+  xmlcatalog --noout --add "rewriteSystem" \
+    "http://docbook.sourceforge.net/release/xsl/current" \
+    "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
+    etc/xml/catalog &&
+
+  xmlcatalog --noout --add "rewriteURI" \
+    "http://docbook.sourceforge.net/release/xsl/current" \
+    "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
+    etc/xml/catalog
+}
+
+post_upgrade() {
+  post_remove $2
+  post_install $1
+}
+
+post_remove() {
+  _OLD=`echo $1 | sed 's|\(.*\)\-.*|\1|'`
+  xmlcatalog --noout --del "/usr/share/xml/docbook/xsl-stylesheets-${_OLD}" etc/xml/catalog
+
+  if [ $(vercmp $1 1.72.0-3) -lt 0 ]; then
+    xmlcatalog --noout --del "/usr/share/xml/docbook" etc/xml/catalog
+    xmlcatalog --noout --del "file:///etc/xml/docbook" etc/xml/catalog
+  fi
+}



More information about the arch-commits mailing list