aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@gmail.com>2019-02-01 00:47:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-01 00:47:40 +0700
commit15a9fc08488287743d23674d1a4ee4bb63f72a69 (patch)
treed66d8470878e2f4a5dddcc140c4d5822c75d795c /system
parentddcc2b944ba7377610d00435a966c45f95a70912 (diff)
system/st: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/st/st.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/st/st.SlackBuild b/system/st/st.SlackBuild
index 35e8d6225f5a4..ac59ed740a245 100644
--- a/system/st/st.SlackBuild
+++ b/system/st/st.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=st
VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -78,6 +78,8 @@ done
# Remove "tic" line from Makefile - we cannot do this here!
sed -i "/^\t@tic/d" Makefile
+[ -f "$CWD/config.h" ] && cp -f $CWD/config.h config.h
+
CFLAGS="$SLKCFLAGS" make && \
make install \
PREFIX=/usr \