aboutsummaryrefslogtreecommitdiff
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.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}