summaryrefslogtreecommitdiff
path: root/user/groff
diff options
context:
space:
mode:
Diffstat (limited to 'user/groff')
-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"