Commit efe8886c authored by Leo's avatar Leo Committed by Francesco Colista

main/groff: upgrade to 1.22.4

parent e61416a0
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=groff
pkgver=1.22.3
pkgrel=2
pkgver=1.22.4
pkgrel=0
pkgdesc="GNU troff text-formatting system"
url="https://www.gnu.org/software/groff/groff.html"
arch="all"
license="GPL"
depends=
makedepends="perl texinfo"
license="GPL-3.0-or-later"
makedepends="perl bison zlib-dev texinfo"
checkdepends="diffutils"
subpackages="$pkgname-doc"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
site.tmac
"
build () {
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--without-x
--without-x \
--disable-rpath
# work around parallel build issue
make arch/misc && make
}
......@@ -32,8 +35,11 @@ package() {
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
for f in man mdoc; do
cat ${srcdir}/site.tmac >> \
${pkgdir}/usr/share/groff/site-tmac/${f}.local
done
}
md5sums="cc825fa64bc7306a885f2fb2268d3ec5 groff-1.22.3.tar.gz"
sha256sums="3a48a9d6c97750bfbd535feeb5be0111db6406ddb7bb79fc680809cda6d828a5 groff-1.22.3.tar.gz"
sha512sums="c526ab203d13a9c9d110bcd3149fe50d1cd0d309437e9e2731a7ce90d890507ebc0a2331899ecf4dba2938daa756b6094cf76fd347a0ded59797c70ccfd0c95c groff-1.22.3.tar.gz"
sha512sums="1c42d3cd71efaf067b5850945d9097fa1f0fadd5e2b6ba7446bd9d4f439fe1ad058e4ddb0d4e0f503682137dfc7c822944ce1e3e5cf981673f8ba197ea77126d groff-1.22.4.tar.gz
f6818f17fdfc76bfecc90c225b0173dabe2be0fe04058869d09556a22cb2c44545a51fa668f69d1843fe2d2344b978367da61189d65b27eed39dcbb9d7a12309 site.tmac"
.
.if n \{\
. \" Character translations for non-keyboard
. \" characters - to make them searchable
. if '\*[.T]'utf8' \{\
. char \- \N'45'
. char - \N'45'
. char ' \N'39'
. char \' \N'39'
. \}
.
. \" Shut off SGR by default (groff colors)
. \" Require GROFF_SGR envvar defined to turn it on
. if '\V[GROFF_SGR]'' \
. output x X tty: sgr 0
.\}
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