[arch-commits] Commit in groff/repos (8 files)

Tobias Powalowski tpowa at archlinux.org
Wed Nov 2 09:12:48 EDT 2011


    Date: Wednesday, November 2, 2011 @ 09:12:48
  Author: tpowa
Revision: 141718

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

Added:
  groff/repos/testing-i686/
  groff/repos/testing-i686/PKGBUILD
    (from rev 141717, groff/trunk/PKGBUILD)
  groff/repos/testing-i686/groff.install
    (from rev 141717, groff/trunk/groff.install)
  groff/repos/testing-i686/site.tmac
    (from rev 141717, groff/trunk/site.tmac)
  groff/repos/testing-x86_64/
  groff/repos/testing-x86_64/PKGBUILD
    (from rev 141717, groff/trunk/PKGBUILD)
  groff/repos/testing-x86_64/groff.install
    (from rev 141717, groff/trunk/groff.install)
  groff/repos/testing-x86_64/site.tmac
    (from rev 141717, groff/trunk/site.tmac)

------------------------------+
 testing-i686/PKGBUILD        |   48 +++++++++++++++++++++++++++++++++++++++++
 testing-i686/groff.install   |   20 +++++++++++++++++
 testing-i686/site.tmac       |   16 +++++++++++++
 testing-x86_64/PKGBUILD      |   48 +++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/groff.install |   20 +++++++++++++++++
 testing-x86_64/site.tmac     |   16 +++++++++++++
 6 files changed, 168 insertions(+)

Copied: groff/repos/testing-i686/PKGBUILD (from rev 141717, groff/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-02 13:12:48 UTC (rev 141718)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: judd <jvinet at zeroflux.org>
+pkgname=groff
+pkgver=1.21
+pkgrel=2
+pkgdesc="GNU troff text-formatting system"
+arch=(i686 x86_64)
+url="http://www.gnu.org/software/groff/groff.html"
+license=('GPL')
+depends=('perl' 'gcc-libs' 'texinfo')
+makedepends=('netpbm' 'psutils' 'ghostscript')
+optdepends=('netpbm: for use together with man -H command interaction in browsers'
+            'psutils: for use together with man -H command interaction in browsers')
+source=(ftp://ftp.gnu.org/gnu/groff/groff-$pkgver.tar.gz
+        site.tmac)
+options=(!makeflags !docs)
+install=groff.install
+md5sums=('8b8cd29385b97616a0f0d96d0951c5bf'
+         'a1fedafd7863b37968d32ad9ae1d8c13')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --without-x
+  mkdir -p $pkgdir/usr
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make prefix=$pkgdir/usr install
+	cd $pkgdir/usr/bin
+	# needed for xman
+	ln -s eqn geqn
+	ln -s tbl gtbl
+	ln -s soelim zsoelim
+  rm -rf $pkgdir/usr/lib/groff/site-tmac
+  # Fix some issues when encoding to utf8 man pages
+  #  The output chars don't match keyboard chars...
+  cat $srcdir/site.tmac >> \
+    $pkgdir/usr/share/groff/site-tmac/man.local
+  cat $srcdir/site.tmac >> \
+    $pkgdir/usr/share/groff/site-tmac/mdoc.local
+}

Copied: groff/repos/testing-i686/groff.install (from rev 141717, groff/trunk/groff.install)
===================================================================
--- testing-i686/groff.install	                        (rev 0)
+++ testing-i686/groff.install	2011-11-02 13:12:48 UTC (rev 141718)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(groff.info groff.info-1 groff.info-2 groff.info-3)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:

Copied: groff/repos/testing-i686/site.tmac (from rev 141717, groff/trunk/site.tmac)
===================================================================
--- testing-i686/site.tmac	                        (rev 0)
+++ testing-i686/site.tmac	2011-11-02 13:12:48 UTC (rev 141718)
@@ -0,0 +1,16 @@
+.
+.if n \{\
+.  \" Character translations for non-keyboard
+.  \" characters - to make them searchable
+.  if '\*[.T]'utf8' \{\
+.    char \- \N'45'
+.    char - \N'45'
+.    char ' \N'39'
+.    char \' \N'39'
+.  \}
+.
+.  \" Shut off SGR by default (groff colors)
+.  \" Require GROFF_SGR envvar defined to turn it on
+.  if '\V[GROFF_SGR]'' \
+.    output x X tty: sgr 0
+.\}

Copied: groff/repos/testing-x86_64/PKGBUILD (from rev 141717, groff/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-02 13:12:48 UTC (rev 141718)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: judd <jvinet at zeroflux.org>
+pkgname=groff
+pkgver=1.21
+pkgrel=2
+pkgdesc="GNU troff text-formatting system"
+arch=(i686 x86_64)
+url="http://www.gnu.org/software/groff/groff.html"
+license=('GPL')
+depends=('perl' 'gcc-libs' 'texinfo')
+makedepends=('netpbm' 'psutils' 'ghostscript')
+optdepends=('netpbm: for use together with man -H command interaction in browsers'
+            'psutils: for use together with man -H command interaction in browsers')
+source=(ftp://ftp.gnu.org/gnu/groff/groff-$pkgver.tar.gz
+        site.tmac)
+options=(!makeflags !docs)
+install=groff.install
+md5sums=('8b8cd29385b97616a0f0d96d0951c5bf'
+         'a1fedafd7863b37968d32ad9ae1d8c13')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --without-x
+  mkdir -p $pkgdir/usr
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make prefix=$pkgdir/usr install
+	cd $pkgdir/usr/bin
+	# needed for xman
+	ln -s eqn geqn
+	ln -s tbl gtbl
+	ln -s soelim zsoelim
+  rm -rf $pkgdir/usr/lib/groff/site-tmac
+  # Fix some issues when encoding to utf8 man pages
+  #  The output chars don't match keyboard chars...
+  cat $srcdir/site.tmac >> \
+    $pkgdir/usr/share/groff/site-tmac/man.local
+  cat $srcdir/site.tmac >> \
+    $pkgdir/usr/share/groff/site-tmac/mdoc.local
+}

Copied: groff/repos/testing-x86_64/groff.install (from rev 141717, groff/trunk/groff.install)
===================================================================
--- testing-x86_64/groff.install	                        (rev 0)
+++ testing-x86_64/groff.install	2011-11-02 13:12:48 UTC (rev 141718)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(groff.info groff.info-1 groff.info-2 groff.info-3)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:

Copied: groff/repos/testing-x86_64/site.tmac (from rev 141717, groff/trunk/site.tmac)
===================================================================
--- testing-x86_64/site.tmac	                        (rev 0)
+++ testing-x86_64/site.tmac	2011-11-02 13:12:48 UTC (rev 141718)
@@ -0,0 +1,16 @@
+.
+.if n \{\
+.  \" Character translations for non-keyboard
+.  \" characters - to make them searchable
+.  if '\*[.T]'utf8' \{\
+.    char \- \N'45'
+.    char - \N'45'
+.    char ' \N'39'
+.    char \' \N'39'
+.  \}
+.
+.  \" Shut off SGR by default (groff colors)
+.  \" Require GROFF_SGR envvar defined to turn it on
+.  if '\V[GROFF_SGR]'' \
+.    output x X tty: sgr 0
+.\}



More information about the arch-commits mailing list