summaryrefslogtreecommitdiff
path: root/core/groff/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-17 00:45:16 -0800
committerroot <root@rshg054.dnsready.net>2013-02-17 00:45:16 -0800
commitc6f4cd18ab706868be0eff10327a0dcd58cecdf3 (patch)
treede3914332965ed3485e383ba0da41ef1b1c8c427 /core/groff/PKGBUILD
parent4a4f6be8604aa35bdc81ae29d86b07dc8aea0c5c (diff)
Sun Feb 17 00:45:00 PST 2013
Diffstat (limited to 'core/groff/PKGBUILD')
-rw-r--r--core/groff/PKGBUILD38
1 files changed, 20 insertions, 18 deletions
diff --git a/core/groff/PKGBUILD b/core/groff/PKGBUILD
index f007e1d23..cf727defa 100644
--- a/core/groff/PKGBUILD
+++ b/core/groff/PKGBUILD
@@ -1,27 +1,29 @@
-# $Id: PKGBUILD 142313 2011-11-08 10:57:28Z tpowa $
-# Maintainer: judd <jvinet@zeroflux.org>
+# $Id: PKGBUILD 178100 2013-02-16 08:46:34Z allan $
+# Maintainer:
+
pkgname=groff
-pkgver=1.21
+pkgver=1.22.2
pkgrel=2
pkgdesc="GNU troff text-formatting system"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.gnu.org/software/groff/groff.html"
license=('GPL')
-depends=('perl' 'gcc-libs' 'texinfo')
+groups=('base-devel')
+depends=('perl' 'gcc-libs')
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
+source=(ftp://ftp.gnu.org/gnu/groff/groff-$pkgver.tar.gz{,.sig}
site.tmac)
-options=(!makeflags !docs)
+options=('!docs' '!emptydirs')
install=groff.install
-md5sums=('8b8cd29385b97616a0f0d96d0951c5bf'
+md5sums=('9f4cd592a5efc7e36481d8d8d8af6d16'
+ '65207deb0a9b54324cb947f25ec9164f'
'a1fedafd7863b37968d32ad9ae1d8c13')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --without-x
- mkdir -p $pkgdir/usr
make
}
@@ -32,15 +34,15 @@ 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...
+ 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 >> \