aboutsummaryrefslogtreecommitdiff
path: root/extra/groff/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-21 09:02:22 +0300
committerCem Keylan <cem@ckyln.com>2020-01-21 09:02:22 +0300
commit9937fb0ac6436c8a33250bbe35b331af16b930fa (patch)
tree6d92f4350b4034d24a4eb48e6827b6d5b4b2240a /extra/groff/build
parent86ff5b94edd565aad397bb797f4d8dac2f98ec74 (diff)
downloadrepository-9937fb0ac6436c8a33250bbe35b331af16b930fa.tar.gz
groff: add package to extra
Diffstat (limited to 'extra/groff/build')
-rwxr-xr-xextra/groff/build16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/groff/build b/extra/groff/build
new file mode 100755
index 00000000..fd401417
--- /dev/null
+++ b/extra/groff/build
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+patch -p0 < musl.patch
+
+./configure \
+ --prefix=/usr \
+ --without-x \
+ --disable-rpath \
+ --with-doc=no \
+ --disable-nls
+
+make
+make DESTDIR="$1" install
+for file in /usr/share/man/man7/roff.7 /usr/share/man/man1/soelim.1 /usr/bin/soelim ; do
+ rm "$1/$file"
+done