summaryrefslogtreecommitdiff
path: root/core/groff/PKGBUILD
diff options
context:
space:
mode:
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 >> \