[arch-commits] Commit in docbook-xsl/trunk (PKGBUILD docbook-xsl.install)

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


    Date: Wednesday, February 8, 2012 @ 10:09:33
  Author: andrea
Revision: 149584

upgpkg: docbook-xsl 1.76.1-2

Rebuilt for signing

Modified:
  docbook-xsl/trunk/PKGBUILD
  docbook-xsl/trunk/docbook-xsl.install

---------------------+
 PKGBUILD            |   39 ++++++++++++++++++---------------------
 docbook-xsl.install |    4 ++--
 2 files changed, 20 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-08 15:02:11 UTC (rev 149583)
+++ PKGBUILD	2012-02-08 15:09:33 UTC (rev 149584)
@@ -1,43 +1,40 @@
 # $Id$
-# Contributer: Jan de Groot <jgc at archlinux.org>
-# Contributer: Sean Middleditch <elanthis at awesomeplay.com>
-# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+# 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=1
-pkgdesc='XML stylesheets for Docbook-xml transformations.'
+pkgrel=2
+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
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/docbook/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('b5340507cb240cc7ce00632b9c40bff5')
 
-build() {
-	/bin/true
-}
-
 package() {
-	pkgroot=${pkgdir}/usr/share/xml/docbook/xsl-stylesheets-${pkgver}
+	_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/
+	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}/
+		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}/
+		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
+	install -m644 VERSION ${_pkgroot}/
+	install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }

Modified: docbook-xsl.install
===================================================================
--- docbook-xsl.install	2012-02-08 15:02:11 UTC (rev 149583)
+++ docbook-xsl.install	2012-02-08 15:09:33 UTC (rev 149584)
@@ -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|'`
 



More information about the arch-commits mailing list