[arch-commits] Commit in texinfo/repos (6 files)

Allan McRae allan at archlinux.org
Thu Nov 3 14:24:20 UTC 2011


    Date: Thursday, November 3, 2011 @ 10:24:19
  Author: allan
Revision: 141955

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  texinfo/repos/testing-i686/
  texinfo/repos/testing-i686/PKGBUILD
    (from rev 141954, texinfo/trunk/PKGBUILD)
  texinfo/repos/testing-i686/texinfo.install
    (from rev 141954, texinfo/trunk/texinfo.install)
  texinfo/repos/testing-x86_64/
  texinfo/repos/testing-x86_64/PKGBUILD
    (from rev 141954, texinfo/trunk/PKGBUILD)
  texinfo/repos/testing-x86_64/texinfo.install
    (from rev 141954, texinfo/trunk/texinfo.install)

--------------------------------+
 testing-i686/PKGBUILD          |   31 +++++++++++++++++++++++++++++++
 testing-i686/texinfo.install   |   21 +++++++++++++++++++++
 testing-x86_64/PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 testing-x86_64/texinfo.install |   21 +++++++++++++++++++++
 4 files changed, 104 insertions(+)

Copied: texinfo/repos/testing-i686/PKGBUILD (from rev 141954, texinfo/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-03 14:24:19 UTC (rev 141955)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=texinfo
+pkgver=4.13a
+pkgrel=6
+pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/texinfo/"
+license=('GPL3')
+groups=('base')
+depends=('ncurses' 'findutils' 'gzip')
+install=texinfo.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('71ba711519209b5fb583fed2b3d86fcb'
+         'db2ca82c831684cd7cef181234017c46')
+
+build() {
+  cd ${srcdir}/${pkgname}-4.13
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-4.13
+  make DESTDIR=${pkgdir} install
+
+  # fix this here as it prevents make from trying to rebuild manual pages
+  sed -i 's#A-z#A-Za-z#' ${pkgdir}/usr/bin/texi2dvi
+}

Copied: texinfo/repos/testing-i686/texinfo.install (from rev 141954, texinfo/trunk/texinfo.install)
===================================================================
--- testing-i686/texinfo.install	                        (rev 0)
+++ testing-i686/texinfo.install	2011-11-03 14:24:19 UTC (rev 141955)
@@ -0,0 +1,21 @@
+infodir=usr/share/info
+filelist=(info.info info-stnd.info texinfo texinfo-1 texinfo-2 texinfo-3)
+
+post_install() {
+  # Scan *all* info files on install
+  for file in $(find $infodir -type f ! -name dir); do
+      install-info $file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}

Copied: texinfo/repos/testing-x86_64/PKGBUILD (from rev 141954, texinfo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-03 14:24:19 UTC (rev 141955)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=texinfo
+pkgver=4.13a
+pkgrel=6
+pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/texinfo/"
+license=('GPL3')
+groups=('base')
+depends=('ncurses' 'findutils' 'gzip')
+install=texinfo.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('71ba711519209b5fb583fed2b3d86fcb'
+         'db2ca82c831684cd7cef181234017c46')
+
+build() {
+  cd ${srcdir}/${pkgname}-4.13
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-4.13
+  make DESTDIR=${pkgdir} install
+
+  # fix this here as it prevents make from trying to rebuild manual pages
+  sed -i 's#A-z#A-Za-z#' ${pkgdir}/usr/bin/texi2dvi
+}

Copied: texinfo/repos/testing-x86_64/texinfo.install (from rev 141954, texinfo/trunk/texinfo.install)
===================================================================
--- testing-x86_64/texinfo.install	                        (rev 0)
+++ testing-x86_64/texinfo.install	2011-11-03 14:24:19 UTC (rev 141955)
@@ -0,0 +1,21 @@
+infodir=usr/share/info
+filelist=(info.info info-stnd.info texinfo texinfo-1 texinfo-2 texinfo-3)
+
+post_install() {
+  # Scan *all* info files on install
+  for file in $(find $infodir -type f ! -name dir); do
+      install-info $file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list