Commit 6664b52e authored by Jeff Huang's avatar Jeff Huang 😕

[skip-ci] groff: update to 1.22.4

parent 727c916c
Pipeline #2816 skipped
pkgname=groff
pkgver=1.22.3
pkgver=1.22.4
pkgrel=1
pkgdesc="GNU troff text-formatting system"
arch=('x86_64')
url="http://www.gnu.org/software/groff/groff.html"
url="https://www.gnu.org/software/groff/groff.html"
license=('GPL')
depends=('perl' 'gcc-libs' 'texinfo')
makedepends=('netpbm' 'psutils' 'ghostscript')
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')
'psutils: for use together with man -H command interaction in browsers'
'libxaw: for gxditview')
source=("ftp://ftp.gnu.org/gnu/groff/groff-$pkgver.tar.gz"
'site.tmac')
options=('!docs' '!emptydirs' '!makeflags')
md5sums=('cc825fa64bc7306a885f2fb2268d3ec5'
md5sums=('08fb04335e2f5e73f23ea4c3adbf0c5f'
'a1fedafd7863b37968d32ad9ae1d8c13')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --without-x
./configure --prefix=/usr --without-x --with-appresdir=/usr/share/X11/app-defaults
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make prefix=$pkgdir/usr install
mkdir -p $pkgdir/usr
cd $pkgdir/usr/bin
# needed for xman
ln -s eqn geqn
ln -s tbl gtbl
ln -s soelim zsoelim
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
# Fix some issues when encoding to utf8 man pages
# The output chars don't match keyboard chars...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment