aboutsummaryrefslogtreecommitdiff
path: root/misc/ibus/ibus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ibus/ibus.SlackBuild')
-rw-r--r--misc/ibus/ibus.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/misc/ibus/ibus.SlackBuild b/misc/ibus/ibus.SlackBuild
index 4948c69e708fe..0d22867b962ea 100644
--- a/misc/ibus/ibus.SlackBuild
+++ b/misc/ibus/ibus.SlackBuild
@@ -28,15 +28,14 @@
# Feedback (especially improvements) is encouraged! :-)
PRGNAM=ibus
-VERSION=${VERSION:-1.3.8}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.3.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -102,9 +101,9 @@ mkdir $PKG/usr/share/ibus/ui/kimpanel
cp $CWD/panel.py $PKG/usr/share/ibus/ui/kimpanel
chmod 0755 $PKG/usr/share/ibus/ui/kimpanel/panel.py
# Link the icon to where kimpanel will look for.
-( cd $PKG/usr/share/ibus/icons
+cd $PKG/usr/share/ibus/icons
ln -s ../../icons/hicolor/scalable/apps/ibus.svg .
-)
+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
@@ -121,7 +120,9 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SBO > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBO
-( cd $PKG/usr/doc/$PRGNAM-$VERSION; ln -s ../../share/gtk-doc/html/ibus html )
+cd $PKG/usr/doc/$PRGNAM-$VERSION
+ ln -s ../../share/gtk-doc/html/ibus html
+cd -
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc