summaryrefslogtreecommitdiffstats
path: root/system/st
diff options
context:
space:
mode:
author Nikolay Korotkiy2019-01-31 18:47:40 +0100
committer Willy Sudiarto Raharjo2019-01-31 18:47:40 +0100
commit15a9fc08488287743d23674d1a4ee4bb63f72a69 (patch)
treed66d8470878e2f4a5dddcc140c4d5822c75d795c /system/st
parentddcc2b944ba7377610d00435a966c45f95a70912 (diff)
downloadslackbuilds-15a9fc08488287743d23674d1a4ee4bb63f72a69.tar.gz
system/st: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/st')
-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 35e8d6225f..ac59ed740a 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 \