aboutsummaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-06 12:06:15 +0300
committerCem Keylan <cem@ckyln.com>2020-09-06 12:06:15 +0300
commit00f2a93ecc00aed67221ec4333fc63217c12dc01 (patch)
tree6a41786a414ee765608d746eb6de67edf5355daf /community
parentda6a225e31e3ad49b7355ec78d94b2796585a8c8 (diff)
downloadrepository-00f2a93ecc00aed67221ec4333fc63217c12dc01.tar.gz
figlet: fix manpage directories
Diffstat (limited to 'community')
-rwxr-xr-xcommunity/figlet/build15
1 files changed, 11 insertions, 4 deletions
diff --git a/community/figlet/build b/community/figlet/build
index 0c04856d..eb782e43 100755
--- a/community/figlet/build
+++ b/community/figlet/build
@@ -1,7 +1,14 @@
#!/bin/sh -e
-sed '/DECLS/d' utf8.h >_
-cat _ > utf8.h; rm -f _
+sed -i '/DECLS/d' utf8.h
-make prefix=/usr
-make prefix=/usr DESTDIR="$1" install
+mk() {
+ make \
+ prefix=/usr \
+ LDFLAGS="$LDFLAGS -static" \
+ MANDIR=/usr/share/man \
+ "$@"
+}
+
+mk
+mk DESTDIR="$1" install