[arch-commits] Commit in docbook2x/repos/community-x86_64 (6 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Fri Nov 22 17:09:45 UTC 2013


    Date: Friday, November 22, 2013 @ 18:09:45
  Author: spupykin
Revision: 101319

archrelease: copy trunk to community-x86_64

Added:
  docbook2x/repos/community-x86_64/PKGBUILD
    (from rev 101318, docbook2x/trunk/PKGBUILD)
  docbook2x/repos/community-x86_64/datadir.diff
    (from rev 101318, docbook2x/trunk/datadir.diff)
  docbook2x/repos/community-x86_64/docbook2x.install
    (from rev 101318, docbook2x/trunk/docbook2x.install)
Deleted:
  docbook2x/repos/community-x86_64/PKGBUILD
  docbook2x/repos/community-x86_64/datadir.diff
  docbook2x/repos/community-x86_64/docbook2x.install

-------------------+
 PKGBUILD          |   78 ++++++++++++++++++++++++++++------------------------
 datadir.diff      |   36 ++++++++++++------------
 docbook2x.install |   36 ++++++++++++------------
 3 files changed, 78 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-22 17:09:35 UTC (rev 101318)
+++ PKGBUILD	2013-11-22 17:09:45 UTC (rev 101319)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
-
-pkgname=docbook2x
-pkgver=0.8.8
-pkgrel=11
-pkgdesc="A software package that converts DocBook documents into the traditional Unix man page format and the GNU Texinfo format."
-arch=('i686' 'x86_64')
-url="http://docbook2x.sourceforge.net"
-license=("MIT")
-depends=('glibc' 'perl-sgmls' 'perlxml' 'perl-xml-sax' 'libxslt' 'jade')
-makedepends=('texinfo')
-install=docbook2x.install
-source=(http://downloads.sourceforge.net/$pkgname/docbook2X-$pkgver.tar.gz
-        datadir.diff)
-md5sums=('b9b76a6af198c4f44574cfd17a322f01'
-         '826fae88a435d9278c4f9614991d55a1')
-
-build()  {
-  cd $srcdir/docbook2X-$pkgver
-  patch -p1 <$srcdir/datadir.diff
-
-  autoreconf
-  ./configure \
-    --prefix=/usr \
-    --mandir=/usr/share/man \
-    --program-transform-name 's,2x-,2,' \
-
-  make
-
-  make DESTDIR=$pkgdir install
-  install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/license
-  sed -i 's|http://docbook2x.sf.net/latest|/usr/share/docbook2X|g' \
-    $pkgdir/usr/bin/db2x_xsltproc
-}

Copied: docbook2x/repos/community-x86_64/PKGBUILD (from rev 101318, docbook2x/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-11-22 17:09:45 UTC (rev 101319)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+
+pkgname=docbook2x
+pkgver=0.8.8
+pkgrel=11
+pkgdesc="A software package that converts DocBook documents into the traditional Unix man page format and the GNU Texinfo format."
+arch=('i686' 'x86_64')
+url="http://docbook2x.sourceforge.net"
+license=("MIT")
+depends=('glibc' 'perl-sgmls' 'perlxml' 'perl-xml-sax' 'libxslt' 'jade')
+makedepends=('texinfo')
+install=docbook2x.install
+source=(http://downloads.sourceforge.net/$pkgname/docbook2X-$pkgver.tar.gz
+        datadir.diff)
+md5sums=('b9b76a6af198c4f44574cfd17a322f01'
+         '826fae88a435d9278c4f9614991d55a1')
+
+prepare() {
+  cd $srcdir/docbook2X-$pkgver
+  patch -p1 <$srcdir/datadir.diff
+  sed -e 's/AM_CONFIG_HEADER(/AC_CONFIG_HEADERS(/' -i configure.ac
+}
+
+build()  {
+  cd $srcdir/docbook2X-$pkgver
+  autoreconf -i -f
+  ./configure \
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --program-transform-name 's,2x-,2,' \
+  make
+}
+
+package() {
+  cd $srcdir/docbook2X-$pkgver
+  make DESTDIR=$pkgdir install
+  install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/license
+  sed -i 's|http://docbook2x.sf.net/latest|/usr/share/docbook2X|g' \
+    $pkgdir/usr/bin/db2x_xsltproc
+}

Deleted: datadir.diff
===================================================================
--- datadir.diff	2013-11-22 17:09:35 UTC (rev 101318)
+++ datadir.diff	2013-11-22 17:09:45 UTC (rev 101319)
@@ -1,18 +0,0 @@
-Upstream patch:
-http://docbook2x.cvs.sourceforge.net/viewvc/docbook2x/docbook2X/configure.ac?r1=1.21&r2=1.22&view=patch
-
-diff -ru docbook2X-0.8.8.orig/configure.ac docbook2X-0.8.8/configure.ac
---- docbook2X-0.8.8.orig/configure.ac	2010-06-26 04:57:04.000000000 -0430
-+++ docbook2X-0.8.8/configure.ac	2010-06-26 04:57:39.000000000 -0430
-@@ -149,6 +149,11 @@
- dnl Ensure that all static_* are fully expanded.
- 
- eval static_datadir="$datadir"
-+old_val=""
-+until test "$static_datadir" = "$old_val"; do
-+	old_val="$static_datadir"
-+	eval static_datadir="$static_datadir"
-+done
- 
- eval static_bindir="$bindir"
- old_val=""

Copied: docbook2x/repos/community-x86_64/datadir.diff (from rev 101318, docbook2x/trunk/datadir.diff)
===================================================================
--- datadir.diff	                        (rev 0)
+++ datadir.diff	2013-11-22 17:09:45 UTC (rev 101319)
@@ -0,0 +1,18 @@
+Upstream patch:
+http://docbook2x.cvs.sourceforge.net/viewvc/docbook2x/docbook2X/configure.ac?r1=1.21&r2=1.22&view=patch
+
+diff -ru docbook2X-0.8.8.orig/configure.ac docbook2X-0.8.8/configure.ac
+--- docbook2X-0.8.8.orig/configure.ac	2010-06-26 04:57:04.000000000 -0430
++++ docbook2X-0.8.8/configure.ac	2010-06-26 04:57:39.000000000 -0430
+@@ -149,6 +149,11 @@
+ dnl Ensure that all static_* are fully expanded.
+ 
+ eval static_datadir="$datadir"
++old_val=""
++until test "$static_datadir" = "$old_val"; do
++	old_val="$static_datadir"
++	eval static_datadir="$static_datadir"
++done
+ 
+ eval static_bindir="$bindir"
+ old_val=""

Deleted: docbook2x.install
===================================================================
--- docbook2x.install	2013-11-22 17:09:35 UTC (rev 101318)
+++ docbook2x.install	2013-11-22 17:09:45 UTC (rev 101319)
@@ -1,18 +0,0 @@
-info_dir=usr/share/info
-info_files=(docbook2X.info docbook2man-xslt.info docbook2texi-xslt.info)
-
-post_install() {
-  for f in ${info_files[@]}; do
-    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  for f in ${info_files[@]}; do
-    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}

Copied: docbook2x/repos/community-x86_64/docbook2x.install (from rev 101318, docbook2x/trunk/docbook2x.install)
===================================================================
--- docbook2x.install	                        (rev 0)
+++ docbook2x.install	2013-11-22 17:09:45 UTC (rev 101319)
@@ -0,0 +1,18 @@
+info_dir=usr/share/info
+info_files=(docbook2X.info docbook2man-xslt.info docbook2texi-xslt.info)
+
+post_install() {
+  for f in ${info_files[@]}; do
+    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for f in ${info_files[@]}; do
+    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list