aboutsummaryrefslogtreecommitdiff
path: root/misc/fcitx-configtool/fcitx-configtool.SlackBuild
diff options
context:
space:
mode:
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 8e28704df127..0cecb62533a0 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