summaryrefslogtreecommitdiffstats
path: root/abs/core/groff/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:36:41 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:36:41 (GMT)
commitec111ed64a9d4a385f9678d97788bb75ffee944b (patch)
treee795522685fe57a84be24e1510e0cf0e29c163dd /abs/core/groff/PKGBUILD
parent470bbda731faf409041f07225bd6fb02aa0ce21c (diff)
downloadlinhes_pkgbuild-ec111ed64a9d4a385f9678d97788bb75ffee944b.zip
linhes_pkgbuild-ec111ed64a9d4a385f9678d97788bb75ffee944b.tar.gz
linhes_pkgbuild-ec111ed64a9d4a385f9678d97788bb75ffee944b.tar.bz2
groff: upgrade
Diffstat (limited to 'abs/core/groff/PKGBUILD')
-rw-r--r--abs/core/groff/PKGBUILD40
1 files changed, 24 insertions, 16 deletions
diff --git a/abs/core/groff/PKGBUILD b/abs/core/groff/PKGBUILD
index 5183acc..fac0af8 100644
--- a/abs/core/groff/PKGBUILD
+++ b/abs/core/groff/PKGBUILD
@@ -1,34 +1,42 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 71613 2010-03-07 21:58:14Z paul $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=groff
-pkgver=1.19.2
-pkgrel=13
+pkgver=1.20.1
+pkgrel=4
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')
-groups=('base')
-depends=('perl' 'gcc-libs')
+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
- man-utf8.tmac)
-md5sums=('f7c9cf2e4b9967d3af167d7c9fadaae4'
- 'faefbef2b05ee5438b632464607c6cc4')
+ site.tmac)
+install=groff.install
+md5sums=('48fa768dd6fdeb7968041dd5ae8e2b02'
+ 'a1fedafd7863b37968d32ad9ae1d8c13')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --without-x
- mkdir -p $startdir/pkg/usr
+ mkdir -p $pkgdir/usr
make -j1 || return 1
- make prefix=$startdir/pkg/usr install
- cd $startdir/pkg/usr/bin
+}
+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 $startdir/pkg/usr/lib
+ rm -rf $pkgdir/usr/lib
# Fix some issues when encoding to utf8 man pages
# The output chars don't match keyboard chars...
- cat $startdir/src/man-utf8.tmac >> \
- $startdir/pkg/usr/share/groff/site-tmac/man.local
+ cat $srcdir/site.tmac >> \
+ $pkgdir/usr/share/groff/site-tmac/man.local
+ cat $srcdir/site.tmac >> \
+ $pkgdir/usr/share/groff/site-tmac/mdoc.local
}