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

Tobias Powalowski tpowa at archlinux.org
Tue Mar 12 13:41:50 UTC 2019


    Date: Tuesday, March 12, 2019 @ 13:41:49
  Author: tpowa
Revision: 347738

archrelease: copy trunk to testing-x86_64

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

-----------+
 PKGBUILD  |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 site.tmac |   16 ++++++++++++++++
 2 files changed, 73 insertions(+)

Copied: groff/repos/testing-x86_64/PKGBUILD (from rev 347737, groff/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-03-12 13:41:49 UTC (rev 347738)
@@ -0,0 +1,57 @@
+# Maintainer: 
+
+pkgname=groff
+pkgver=1.22.4
+pkgrel=1
+pkgdesc='GNU troff text-formatting system'
+arch=('x86_64')
+url='https://www.gnu.org/software/groff/groff.html'
+license=('GPL')
+groups=('base-devel')
+depends=('perl' 'gcc-libs')
+makedepends=('netpbm' 'psutils'  'libxaw')
+optdepends=('netpbm: for use together with man -H command interaction in browsers'
+            'psutils: for use together with man -H command interaction in browsers'
+            'libxaw: for gxditview')
+options=('!docs' '!emptydirs' '!makeflags')
+validpgpkeys=('2D0C08D2B0AD0D3D8626670272D23FBAC99D4E75') # Bertrand Garrigues <bertrand.garrigues at laposte.net>
+source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+        'site.tmac')
+md5sums=('08fb04335e2f5e73f23ea4c3adbf0c5f'
+         'SKIP'
+         'a1fedafd7863b37968d32ad9ae1d8c13')
+sha256sums=('e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293'
+            'SKIP'
+            'af59ecde597ce9f8189368a7739279a5f8a391139fe048ef6b4e493ed46e5f5f')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  ./configure \
+    --prefix=/usr \
+    --with-x \
+    --with-appresdir=/usr/share/X11/app-defaults
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  
+  # add compatibility symlinks
+  ln -s eqn $pkgdir/usr/bin/geqn
+  ln -s tbl $pkgdir/usr/bin/gtbl
+  ln -s soelim $pkgdir/usr/bin/zsoelim
+
+  # FS33760 - TERMCAP variables not followed
+  # TODO: everyone is doing this - find out why upstream does not...
+  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/site.tmac (from rev 347737, groff/trunk/site.tmac)
===================================================================
--- testing-x86_64/site.tmac	                        (rev 0)
+++ testing-x86_64/site.tmac	2019-03-12 13:41:49 UTC (rev 347738)
@@ -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