diff options
Diffstat (limited to 'misc/ibus-qt/ibus-qt.SlackBuild')
-rw-r--r-- | misc/ibus-qt/ibus-qt.SlackBuild | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/misc/ibus-qt/ibus-qt.SlackBuild b/misc/ibus-qt/ibus-qt.SlackBuild index b64c8dba174c1..91ff4999d8d1a 100644 --- a/misc/ibus-qt/ibus-qt.SlackBuild +++ b/misc/ibus-qt/ibus-qt.SlackBuild @@ -5,16 +5,13 @@ # Written by Grissiom <chaos.proton@gmail.com> PRGNAM=ibus-qt -VERSION=${VERSION:-1.2.0.20091217} +VERSION=${VERSION:-1.3.0} 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 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -66,14 +63,12 @@ cd build .. make make install DESTDIR=$PKG -cd - +cd .. -( cd $PKG - find . | xargs file | grep -e "executable" -e "shared object" \ - | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |