summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-06-19 22:55:39 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-06-19 22:55:39 +0000
commitb39942321d371aaa6fa453bf06cb55089bbe7444 (patch)
tree8a92fba32b6c53afdccb261628fa6a7253dcfec5 /user
parentb1dca23f78c06933694cec0918927c2cd648a9ee (diff)
parentbf99539c5893560f6c4b26079ba7da9e587b5d1f (diff)
downloadpackages-b39942321d371aaa6fa453bf06cb55089bbe7444.tar.gz
packages-b39942321d371aaa6fa453bf06cb55089bbe7444.tar.bz2
packages-b39942321d371aaa6fa453bf06cb55089bbe7444.tar.xz
packages-b39942321d371aaa6fa453bf06cb55089bbe7444.zip
Merge branch 'move/groff' into 'master'
Move groff from system/ to user/ See merge request adelie/packages!474
Diffstat (limited to 'user')
-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"