aboutsummaryrefslogtreecommitdiff
path: root/misc/ibus-anthy/ibus-anthy.SlackBuild
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2010-12-15 12:52:03 -0600
committerErik Hanson <erik@slackbuilds.org>2010-12-17 07:56:25 -0600
commit7c41f40cfa160914859ba0c5dea74f3eb97b77cb (patch)
treef4cb3241d03103d609e120982863c0366550aabe /misc/ibus-anthy/ibus-anthy.SlackBuild
parent41622f37534706623846f2c01f01ec0f83444f63 (diff)
misc/ibus-anthy: Updated for version 1.2.5.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc/ibus-anthy/ibus-anthy.SlackBuild')
-rw-r--r--misc/ibus-anthy/ibus-anthy.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/misc/ibus-anthy/ibus-anthy.SlackBuild b/misc/ibus-anthy/ibus-anthy.SlackBuild
index 95ded0f7a6ff8..722fcee812665 100644
--- a/misc/ibus-anthy/ibus-anthy.SlackBuild
+++ b/misc/ibus-anthy/ibus-anthy.SlackBuild
@@ -3,20 +3,20 @@
# Slackware build script for ibus-anthy
# Written by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
-# This script is in public domain.
+# This script is in public domain. If this is not legally possible
+# I grant anyone the right to use this work for any purpose, without any conditions,
+# unless such conditions are required by law.
PRGNAM=ibus-anthy
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.2.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 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$( uname -m ) ;;
+ *) ARCH=$( uname -m ) ;;
esac
fi
@@ -34,11 +34,10 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
-else
+else #for rest of the arches
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-
set -e # Exit on most errors
rm -rf $PKG
@@ -78,7 +77,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}