Date: Wednesday, April 13, 2016 @ 22:10:19
  Author: andyrtr
Revision: 264836

archrelease: copy trunk to extra-any

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

----------------------+
 PKGBUILD             |  104 +++++++++++++++++++++++-----------------------
 docbook-sgml.install |  110 ++++++++++++++++++++++++-------------------------
 2 files changed, 107 insertions(+), 107 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2016-04-13 20:09:47 UTC (rev 264835)
+++ PKGBUILD    2016-04-13 20:10:19 UTC (rev 264836)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@gmail.com>
-# Contributor: Andrew Fyfe <and...@neptune-one.net>
-# Contributor: Stefan Husmann <stefan-husm...@t-online.de>
-
-pkgname=docbook-sgml
-pkgver=4.5
-pkgrel=4
-pkgdesc='Document type definitions for verification of SGML data files against 
the DocBook rule set.'
-arch=('any')
-url='http://www.docbook.org/sgml/'
-license=('MIT')
-depends=('sgml-common')
-install='docbook-sgml.install'
-source=("http://www.docbook.org/sgml/${pkgver}/docbook-${pkgver}.zip";)
-sha256sums=('8043e514e80c6c19cb146b5d37937d1305bf3abf9b0097c36df7f70f611cdf43')
-
-build() {
-  cd "$srcdir"
-
-  local DTDDIR="usr/share/sgml/docbook-sgml-$pkgver"
-
-  sed -i \
-      -e '/ISO 8879/d' \
-      -e '/gml/d' \
-      docbook.cat
-
-  # Add support for previous versions.
-  cat >> docbook.cat << "EOF"
-
-  -- Begin Single Major Version catalog changes --
-
-PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
-PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
-PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
-PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
-PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
-
-  -- End Single Major Version catalog changes --
-
-EOF
-}
-
-package() {
-  cd "$srcdir"
-
-  local DTDDIR="usr/share/sgml/docbook-sgml-$pkgver"
-
-  install -dm755 "$pkgdir/$DTDDIR"
-  install -m644 docbook.cat "$pkgdir/$DTDDIR/catalog"
-  install -m644 *.dtd *.mod *.dcl "$pkgdir/$DTDDIR"
-}

Copied: docbook-sgml/repos/extra-any/PKGBUILD (from rev 264835, 
docbook-sgml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2016-04-13 20:10:19 UTC (rev 264836)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@gmail.com>
+# Contributor: Andrew Fyfe <and...@neptune-one.net>
+# Contributor: Stefan Husmann <stefan-husm...@t-online.de>
+
+pkgname=docbook-sgml
+pkgver=4.5
+pkgrel=5
+pkgdesc='Document type definitions for verification of SGML data files against 
the DocBook rule set.'
+arch=('any')
+url='http://www.docbook.org/sgml/'
+license=('MIT')
+depends=('sgml-common')
+install='docbook-sgml.install'
+source=("http://www.docbook.org/sgml/${pkgver}/docbook-${pkgver}.zip";)
+sha256sums=('8043e514e80c6c19cb146b5d37937d1305bf3abf9b0097c36df7f70f611cdf43')
+
+build() {
+  cd "$srcdir"
+
+  local DTDDIR="usr/share/sgml/docbook-sgml-$pkgver"
+
+  sed -i \
+      -e '/ISO 8879/d' \
+      -e '/gml/d' \
+      docbook.cat
+
+  # Add support for previous versions.
+  cat >> docbook.cat << "EOF"
+
+  -- Begin Single Major Version catalog changes --
+
+PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
+PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
+PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
+PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
+PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
+
+  -- End Single Major Version catalog changes --
+
+EOF
+}
+
+package() {
+  cd "$srcdir"
+
+  local DTDDIR="usr/share/sgml/docbook-sgml-$pkgver"
+
+  install -dm755 "$pkgdir/$DTDDIR"
+  install -m644 docbook.cat "$pkgdir/$DTDDIR/catalog"
+  install -m644 *.dtd *.mod *.dcl "$pkgdir/$DTDDIR"
+}

Deleted: docbook-sgml.install
===================================================================
--- docbook-sgml.install        2016-04-13 20:09:47 UTC (rev 264835)
+++ docbook-sgml.install        2016-04-13 20:10:19 UTC (rev 264836)
@@ -1,55 +0,0 @@
-# arg 1:  the new package version
-pre_install() {
-       /bin/true
-}
-
-# arg 1:  the new package version
-post_install() {
-       add_catalog "${1%-*}"
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-pre_upgrade() {
-       remove_catalog "${2%-*}"
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-       add_catalog "${1%-*}"
-}
-
-# arg 1:  the old package version
-pre_remove() {
-       remove_catalog "${1%-*}"
-}
-
-# arg 1:  the old package version
-post_remove() {
-       /bin/true
-}
-
-
-add_catalog() {
-       install-catalog --add /etc/sgml/sgml-docbook-dtd-$1.cat \
-               /usr/share/sgml/docbook-sgml-$1/catalog
-
-       install-catalog --add /etc/sgml/sgml-docbook-dtd-$1.cat \
-               /etc/sgml/sgml-docbook.cat
-}
-
-remove_catalog() {
-       install-catalog --remove /etc/sgml/sgml-docbook-dtd-$1.cat \
-               /usr/share/sgml/docbook-sgml-$1/catalog
-
-       install-catalog --remove /etc/sgml/sgml-docbook-dtd-$1.cat \
-               /etc/sgml/sgml-docbook.cat
-}
-
-op=$1
-shift
-$op "$@"
-
-# vim:set syntax=sh ts=4 sw=4 noet:
-

Copied: docbook-sgml/repos/extra-any/docbook-sgml.install (from rev 264835, 
docbook-sgml/trunk/docbook-sgml.install)
===================================================================
--- docbook-sgml.install                                (rev 0)
+++ docbook-sgml.install        2016-04-13 20:10:19 UTC (rev 264836)
@@ -0,0 +1,55 @@
+# arg 1:  the new package version
+pre_install() {
+       /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+       add_catalog "${1%-*}"
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+       remove_catalog "${2%-*}"
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+       add_catalog "${1%-*}"
+}
+
+# arg 1:  the old package version
+pre_remove() {
+       remove_catalog "${1%-*}"
+}
+
+# arg 1:  the old package version
+post_remove() {
+       /bin/true
+}
+
+
+add_catalog() {
+       install-catalog --add /etc/sgml/sgml-docbook-dtd-$1.cat \
+               /usr/share/sgml/docbook-sgml-$1/catalog > /dev/null 2>&1
+
+       install-catalog --add /etc/sgml/sgml-docbook-dtd-$1.cat \
+               /etc/sgml/sgml-docbook.cat > /dev/null 2>&1
+}
+
+remove_catalog() {
+       install-catalog --remove /etc/sgml/sgml-docbook-dtd-$1.cat \
+               /usr/share/sgml/docbook-sgml-$1/catalog > /dev/null 2>&1
+
+       install-catalog --remove /etc/sgml/sgml-docbook-dtd-$1.cat \
+               /etc/sgml/sgml-docbook.cat > /dev/null 2>&1
+}
+
+op=$1
+shift
+$op "$@"
+
+# vim:set syntax=sh ts=4 sw=4 noet:
+

Reply via email to