diff options
author | Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com> | 2012-04-15 22:26:12 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-04-16 05:36:00 -0500 |
commit | 50bed0aafbea720ab51e47a02bff88fcab5b062a (patch) | |
tree | b047e81e52b67682484e79c56deb83afa38e587e /misc/ibus-anthy/ibus-anthy.SlackBuild | |
parent | 5c787ee6e3c057b9e29e38258ede1f62ade4ef39 (diff) | |
download | slackbuilds-50bed0aafbea720ab51e47a02bff88fcab5b062a.tar.gz |
misc/ibus-anthy: Updated for version 1.2.7.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc/ibus-anthy/ibus-anthy.SlackBuild')
-rw-r--r-- | misc/ibus-anthy/ibus-anthy.SlackBuild | 13 |
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 \ |