summaryrefslogtreecommitdiff
path: root/misc/kcm-fcitx/kcm-fcitx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kcm-fcitx/kcm-fcitx.SlackBuild')
-rw-r--r--misc/kcm-fcitx/kcm-fcitx.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/kcm-fcitx/kcm-fcitx.SlackBuild b/misc/kcm-fcitx/kcm-fcitx.SlackBuild
index 84e0b81f06..1959c69bec 100644
--- a/misc/kcm-fcitx/kcm-fcitx.SlackBuild
+++ b/misc/kcm-fcitx/kcm-fcitx.SlackBuild
@@ -75,14 +75,12 @@ cd build
cmake -DCMAKE_C_FLAGS:STRING=${SLKCFLAGS} \
-DCMAKE_CXX_FLAGS:STRING=${SLKCFLAGS} \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 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 $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild