summaryrefslogtreecommitdiffstats
path: root/misc/ibus/ibus.SlackBuild
diff options
context:
space:
mode:
author Grissiom <chaos.proton@gmail.com>2010-06-20 07:20:48 -0500
committer Erik Hanson <erik@slackbuilds.org>2010-06-20 15:19:59 -0500
commit46758b062b212566df71eb3b656c20db7a39dac4 (patch)
tree1013d5766db994fef32fa055ac0a539d4f417f3b /misc/ibus/ibus.SlackBuild
parentbec8a82828699c97bab0d21dff9d5b484fadfcac (diff)
downloadslackbuilds-46758b062b212566df71eb3b656c20db7a39dac4.tar.gz
slackbuilds-46758b062b212566df71eb3b656c20db7a39dac4.tar.xz
misc/ibus: Updated for version 1.3.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/ibus/ibus.SlackBuild')
-rw-r--r--misc/ibus/ibus.SlackBuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/misc/ibus/ibus.SlackBuild b/misc/ibus/ibus.SlackBuild
index 143d23c4b3..de4d7cf4da 100644
--- a/misc/ibus/ibus.SlackBuild
+++ b/misc/ibus/ibus.SlackBuild
@@ -28,11 +28,10 @@
# Feedback (especially improvements) is encouraged! :-)
PRGNAM=ibus
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-1.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -71,10 +70,10 @@ tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
cd ${PRGNAM}-${VERSION}
chown -R root:root .
find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -89,13 +88,15 @@ CXXFLAGS="$SLKCFLAGS" \
make
make DESTDIR=$PKG install
-# Add kimpanel support; panel.py is harvested from:
+# add kimpanel support, panel.py is harvested from
# http://websvn.kde.org/tags/KDE/4.4.3/kdeplasma-addons/applets/kimpanel/backend/ibus/panel.py
mkdir $PKG/usr/share/ibus/ui/kimpanel
-cat $CWD/panel.py > $PKG/usr/share/ibus/ui/kimpanel/panel.py
+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;ln -s ../../icons/hicolor/scalable/apps/ibus.svg)
+( cd $PKG/usr/share/ibus/icons
+ ln -s ../../icons/hicolor/scalable/apps/ibus.svg .
+)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -104,10 +105,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/etc/profile.d
cat $CWD/profile.d/ibus.csh > $PKG/etc/profile.d/ibus.csh.new
cat $CWD/profile.d/ibus.sh > $PKG/etc/profile.d/ibus.sh.new
-chmod 755 $PKG/etc/profile.d/*
-
-# Remove etc/xdg/autostart/ibus.desktop, or ibus will always be started in X...
-#rm $PKG/etc/xdg/autostart/ibus.desktop ; rm -rf $PKG/etc/xdg
+chmod 0755 $PKG/etc/profile.d/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \