diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-12 14:02:03 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-20 14:03:13 +0000 |
commit | efe8886cb84574c66ea33d824360fa059dc8b77f (patch) | |
tree | 50e72ef71bb47661493e300ddb43e58ccbbc8855 /main | |
parent | e61416a07feafc7aad698ac27c91d01cda4a4c01 (diff) | |
download | aports-efe8886cb84574c66ea33d824360fa059dc8b77f.tar.bz2 aports-efe8886cb84574c66ea33d824360fa059dc8b77f.tar.xz |
main/groff: upgrade to 1.22.4
Diffstat (limited to 'main')
-rw-r--r-- | main/groff/APKBUILD | 28 | ||||
-rw-r--r-- | main/groff/site.tmac | 17 |
2 files changed, 34 insertions, 11 deletions
diff --git a/main/groff/APKBUILD b/main/groff/APKBUILD index 0c7201b946..e9d903dfd7 100644 --- a/main/groff/APKBUILD +++ b/main/groff/APKBUILD @@ -1,23 +1,26 @@ # 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" diff --git a/main/groff/site.tmac b/main/groff/site.tmac new file mode 100644 index 0000000000..cf0ef61d63 --- /dev/null +++ b/main/groff/site.tmac @@ -0,0 +1,17 @@ +. +.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 +.\} + |