[arch-commits] Commit in docbook-xml/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 02:07:07 EST 2012


    Date: Saturday, February 25, 2012 @ 02:07:07
  Author: pierre
Revision: 151187

upgpkg: docbook-xml 4.5-5

rebuild old package

Modified:
  docbook-xml/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 07:05:52 UTC (rev 151186)
+++ PKGBUILD	2012-02-25 07:07:07 UTC (rev 151187)
@@ -4,19 +4,19 @@
 
 pkgname=docbook-xml
 pkgver=4.5
-pkgrel=4
+pkgrel=5
 pkgdesc="A widely used XML scheme for writing documentation and help"
-arch=(any)
+arch=('any')
 url="http://www.oasis-open.org/docbook/"
 license=('MIT')
 depends=('libxml2')
 install=docbook-xml.install
-source=(http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
-        http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip
-        http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
-        http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip
-        http://www.docbook.org/xml/4.1.2/docbkx412.zip
-        LICENSE)
+source=('http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip'
+        'http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip'
+        'http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip'
+        'http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip'
+        'http://www.docbook.org/xml/4.1.2/docbkx412.zip'
+        'LICENSE')
 noextract=('docbook-xml-4.5.zip' 'docbook-xml-4.4.zip' 'docbook-xml-4.3.zip' 'docbook-xml-4.2.zip' 'docbkx412.zip')
 md5sums=('03083e288e87a7e829e437358da7ef9e'
          'cbb04e9a700955d88c50962ef22c1634'
@@ -25,14 +25,14 @@
          '900d7609fb7e6d78901b357e4acfbc17'
          '50e1eea70bc071b812e963e65af6707e')
 
-build() {
+package() {
   for ver in 4.2 4.3 4.4 4.5; do
     mkdir docbook-xml-${ver}
     pushd docbook-xml-${ver}
     bsdtar xf "${srcdir}/docbook-xml-${ver}.zip"
     mkdir -p "${pkgdir}/usr/share/xml/docbook/xml-dtd-${ver}"
     cp -dRf docbook.cat *.dtd ent/ *.mod \
-        "${pkgdir}/usr/share/xml/docbook/xml-dtd-${ver}/" || return 1
+        "${pkgdir}/usr/share/xml/docbook/xml-dtd-${ver}/"
     popd
   done
   mkdir docbook-xml-4.1.2
@@ -40,11 +40,11 @@
   bsdtar xf "${srcdir}/docbkx412.zip"
   mkdir -p "${pkgdir}/usr/share/xml/docbook/xml-dtd-4.1.2"
   cp -dRf docbook.cat *.dtd ent/ *.mod \
-      "${pkgdir}/usr/share/xml/docbook/xml-dtd-4.1.2/" || return 1
+      "${pkgdir}/usr/share/xml/docbook/xml-dtd-4.1.2/"
   popd
 
   mkdir -p "${pkgdir}/etc/xml"
-  xmlcatalog --noout --create "${pkgdir}/etc/xml/docbook-xml" || return 1
+  xmlcatalog --noout --create "${pkgdir}/etc/xml/docbook-xml"
 
   # V4.1.2
   xmlcatalog --noout --add "public" \



More information about the arch-commits mailing list