summaryrefslogtreecommitdiff
path: root/core/groff/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-17 10:46:15 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-17 10:46:15 +0100
commite30ba9d4c857530c2fbb3cc82236a49676d5ebc9 (patch)
tree966498ac914356462e691b8e550ab1f1d069074c /core/groff/PKGBUILD
parent69f67102b7a02871e32a079ffb789d5fca72a746 (diff)
parentc6f4cd18ab706868be0eff10327a0dcd58cecdf3 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/cantata/PKGBUILD community/ffmpeg-compat/PKGBUILD community/v8/PKGBUILD core/e2fsprogs/PKGBUILD core/groff/PKGBUILD core/openssl/PKGBUILD extra/avidemux/PKGBUILD extra/ffmpeg/PKGBUILD extra/glpk/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/mediastreamer/PKGBUILD extra/netcdf/PKGBUILD extra/octave/PKGBUILD extra/opal/PKGBUILD extra/sox/PKGBUILD extra/x264/PKGBUILD
Diffstat (limited to 'core/groff/PKGBUILD')
-rw-r--r--core/groff/PKGBUILD40
1 files changed, 21 insertions, 19 deletions
diff --git a/core/groff/PKGBUILD b/core/groff/PKGBUILD
index 93f45ec3d..ce83ab075 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
-pkgrel=2.2
+pkgver=1.22.2
+pkgrel=2
pkgdesc="GNU troff text-formatting system"
-arch=(i686 x86_64 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
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 >> \