summaryrefslogtreecommitdiff
path: root/misc/ibus-chewing
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2017-10-07 12:18:37 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:20:01 +0700
commit7fce69d6f557d1d5cf6d977afdce49f8bfb5fd1a (patch)
tree02ddf42467aa8d815af45929ac04a0ea54cdc30c /misc/ibus-chewing
parentedd184fa6bf648b966b14f339561d056c88d6b3b (diff)
downloadslackbuilds-7fce69d6f557d1d5cf6d977afdce49f8bfb5fd1a.tar.gz
misc/ibus-chewing: Updated for version 1.6.1.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'misc/ibus-chewing')
-rw-r--r--misc/ibus-chewing/doinst.sh13
-rw-r--r--misc/ibus-chewing/ibus-chewing.SlackBuild10
-rw-r--r--misc/ibus-chewing/ibus-chewing.info10
3 files changed, 15 insertions, 18 deletions
diff --git a/misc/ibus-chewing/doinst.sh b/misc/ibus-chewing/doinst.sh
index b6a7713475..56b9e419c1 100644
--- a/misc/ibus-chewing/doinst.sh
+++ b/misc/ibus-chewing/doinst.sh
@@ -1,9 +1,6 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
-schema_install ibus-chewing.schemas
diff --git a/misc/ibus-chewing/ibus-chewing.SlackBuild b/misc/ibus-chewing/ibus-chewing.SlackBuild
index 2962f5619a..e6b2888c2e 100644
--- a/misc/ibus-chewing/ibus-chewing.SlackBuild
+++ b/misc/ibus-chewing/ibus-chewing.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ibus-chewing
-VERSION=${VERSION:-1.3.10}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,10 +59,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-Source
-tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz
-cd $PRGNAM-$VERSION-Source
-tar xvf $CWD/cmake-fedora-0.8.1-modules-only.tar.gz
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+tar xvf $CWD/cmake-fedora-2.9.2-modules-only.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/misc/ibus-chewing/ibus-chewing.info b/misc/ibus-chewing/ibus-chewing.info
index 0546e439a6..09f9b97310 100644
--- a/misc/ibus-chewing/ibus-chewing.info
+++ b/misc/ibus-chewing/ibus-chewing.info
@@ -1,10 +1,10 @@
PRGNAM="ibus-chewing"
-VERSION="1.3.10"
+VERSION="1.6.1"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/ibus-chewing-1.3.10-Source.tar.gz \
- http://slackware.uk/sbosrcarch/by-name/misc/ibus-chewing/cmake-fedora-0.8.1-modules-only.tar.gz"
-MD5SUM="2a447828ca9290dd6bdf2336b2889bb0 \
- eb24ff0ec5b7646dd1b077f3b379712b"
+DOWNLOAD="https://github.com/definite/ibus-chewing/archive/1.6.1/ibus-chewing-1.6.1.tar.gz \
+ https://releases.pagure.org/cmake-fedora/cmake-fedora-2.9.2-modules-only.tar.gz"
+MD5SUM="65a947645ceaef03fc18cd6ebbeddb22 \
+ 21f19ada6922886c060d46d5a36c6269"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gob2 ibus libchewing"