aboutsummaryrefslogtreecommitdiff
path: root/misc/fcitx-configtool/fcitx-configtool.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2017-08-30 21:07:14 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:19:58 +0700
commit94aef3ac72d04122fc96e67ce21bbca21a31a624 (patch)
tree37ee46abd11e54c3077f639bf4ea0cbdaa5e9060 /misc/fcitx-configtool/fcitx-configtool.SlackBuild
parent5f7670e209408c8579d13ab1092cfc4ccee408ca (diff)
misc/fcitx-configtool: Updated for version 0.4.9.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'misc/fcitx-configtool/fcitx-configtool.SlackBuild')
-rw-r--r--misc/fcitx-configtool/fcitx-configtool.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/misc/fcitx-configtool/fcitx-configtool.SlackBuild b/misc/fcitx-configtool/fcitx-configtool.SlackBuild
index 8e28704df127d..0cecb62533a05 100644
--- a/misc/fcitx-configtool/fcitx-configtool.SlackBuild
+++ b/misc/fcitx-configtool/fcitx-configtool.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for fcitx-configtool
# Copyright 2012 vvoody <vvoodywang@gmail.com>
+# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands
#
# All rights reserved.
#
@@ -24,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fcitx-configtool
-VERSION=${VERSION:-0.4.8}
+VERSION=${VERSION:-0.4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,18 +73,15 @@ find -L . \
mkdir build
cd build
- cmake -DCMAKE_C_FLAGS:STRING=${SLKCFLAGS} \
- -DCMAKE_CXX_FLAGS:STRING=${SLKCFLAGS} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_GTK2=On \
- ..
+ cmake \
+ -DCMAKE_C_FLAGS:STRING=${SLKCFLAGS} \
+ -DCMAKE_CXX_FLAGS:STRING=${SLKCFLAGS} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild