summaryrefslogtreecommitdiff
path: root/user/groff/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-06-15 23:01:29 +0000
committerMax Rees <maxcrees@me.com>2020-06-15 23:01:29 +0000
commit1e16eef807b0841adc8aba5d38426eddca4a149a (patch)
tree34d82169c19e600236b80dd9a71812fe42f8487f /user/groff/APKBUILD
parent3f91a91019e4401556ff95aae696f38d2fef602f (diff)
downloadpackages-1e16eef807b0841adc8aba5d38426eddca4a149a.tar.gz
packages-1e16eef807b0841adc8aba5d38426eddca4a149a.tar.bz2
packages-1e16eef807b0841adc8aba5d38426eddca4a149a.tar.xz
packages-1e16eef807b0841adc8aba5d38426eddca4a149a.zip
system/groff: move to user/
Diffstat (limited to 'user/groff/APKBUILD')
-rw-r--r--user/groff/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/groff/APKBUILD b/user/groff/APKBUILD
new file mode 100644
index 000000000..1045af000
--- /dev/null
+++ b/user/groff/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=groff
+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-3.0+"
+depends=""
+makedepends="perl texinfo"
+subpackages="$pkgname-doc"
+source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build () {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --without-x
+ # work around parallel build issue
+ make arch/misc && make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
+}
+
+sha512sums="1c42d3cd71efaf067b5850945d9097fa1f0fadd5e2b6ba7446bd9d4f439fe1ad058e4ddb0d4e0f503682137dfc7c822944ce1e3e5cf981673f8ba197ea77126d groff-1.22.4.tar.gz"