-
Notifications
You must be signed in to change notification settings - Fork 16
/
PKGBUILD
41 lines (34 loc) · 1008 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
pkgname=groff
pkgver=1.23.0
pkgrel=5
pkgdesc="GNU troff text-formatting system"
arch=('x86_64')
url="https://www.gnu.org/software/groff/groff.html"
license=('GPL')
depends=('perl' 'gcc-libs' 'texinfo')
makedepends=('netpbm' 'psutils' 'ghostscript')
optdepends=('netpbm: to use together with man -H command interaction in browsers'
'psutils: to use together with man -H command interaction in browsers')
source=("https://ftp.gnu.org/gnu/groff/${pkgname}-${pkgver}.tar.gz")
options=('!docs' '!emptydirs')
md5sums=('5e4f40315a22bb8a158748e7d5094c7d')
build() {
cd ${pkgname}-${pkgver}
# https://savannah.gnu.org/bugs/index.php?43581
#patch -p1 -i ${srcdir}/gropdf.patch
./configure --prefix=/usr --without-x
make
}
check() {
cd ${pkgname}-${pkgver}
# no FAIL
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
# needed for xman
ln -s eqn ${pkgdir}/usr/bin/geqn
ln -s tbl ${pkgdir}/usr/bin/gtbl
ln -s soelim ${pkgdir}/usr/bin/zsoelim
}