diff options
author | Nikolay Korotkiy <sikmir@gmail.com> | 2019-02-01 00:47:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-01 00:47:40 +0700 |
commit | 15a9fc08488287743d23674d1a4ee4bb63f72a69 (patch) | |
tree | d66d8470878e2f4a5dddcc140c4d5822c75d795c | |
parent | ddcc2b944ba7377610d00435a966c45f95a70912 (diff) |
system/st: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/st/st.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system/st/st.SlackBuild b/system/st/st.SlackBuild index 35e8d6225f5a..ac59ed740a24 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 \ |