system/st: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Nikolay Korotkiy 2019-02-01 00:47:40 +07:00 committed by Willy Sudiarto Raharjo
parent ddcc2b944b
commit 15a9fc0848
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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 \