summaryrefslogtreecommitdiff
path: root/misc/ibus-anthy/ibus-anthy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ibus-anthy/ibus-anthy.SlackBuild')
-rw-r--r--misc/ibus-anthy/ibus-anthy.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/ibus-anthy/ibus-anthy.SlackBuild b/misc/ibus-anthy/ibus-anthy.SlackBuild
index 722fcee812..f1ce73184f 100644
--- a/misc/ibus-anthy/ibus-anthy.SlackBuild
+++ b/misc/ibus-anthy/ibus-anthy.SlackBuild
@@ -8,7 +8,7 @@
# unless such conditions are required by law.
PRGNAM=ibus-anthy
-VERSION=${VERSION:-1.2.5}
+VERSION=${VERSION:-1.2.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
+ *) ARCH=$( uname -m ) ;;
esac
fi
@@ -34,11 +34,12 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
-else #for rest of the arches
+else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -65,9 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG # ibus-anthy strips itself
-
-# there's no man pages to compress
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \