mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
misc/ibus-chewing: Updated for version 1.3.10.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
4809af5af7
commit
18b59874fb
2 changed files with 11 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for ibus-chewing
|
||||
|
||||
# Copyright 2010 Guan-Zhong Huang, Taiwan <imprazaguy@gmail.com>
|
||||
# Copyright 2010-2012 Guan-Zhong Huang, Taiwan <imprazaguy@gmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=ibus-chewing
|
||||
VERSION=${VERSION:-1.3.9.2}
|
||||
VERSION=${VERSION:-1.3.10}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -38,7 +38,7 @@ fi
|
|||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
|
@ -62,6 +62,7 @@ cd $TMP
|
|||
rm -rf $PRGNAM-$VERSION-Source
|
||||
tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz
|
||||
cd $PRGNAM-$VERSION-Source
|
||||
tar xvf $CWD/cmake-fedora-modules-only-latest.tar.gz
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
@ -70,7 +71,6 @@ find . \
|
|||
-exec chmod 644 {} \;
|
||||
|
||||
# This cmake script doesn't support out-of-source build
|
||||
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
||||
|
@ -78,10 +78,10 @@ cmake \
|
|||
-DSYSCONF_INSTALL_DIR=/etc \
|
||||
-DDOC_DIR=/usr/doc \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
make VERBOSE=1
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
PRGNAM="ibus-chewing"
|
||||
VERSION="1.3.9.2"
|
||||
VERSION="1.3.10"
|
||||
HOMEPAGE="http://code.google.com/p/ibus"
|
||||
DOWNLOAD="http://ibus.googlecode.com/files/ibus-chewing-1.3.9.2-Source.tar.gz"
|
||||
MD5SUM="8d177d67647944f5d1f9cca0654eaccb"
|
||||
DOWNLOAD="http://ibus.googlecode.com/files/ibus-chewing-1.3.10-Source.tar.gz \
|
||||
https://fedorahosted.org/releases/c/m/cmake-fedora/cmake-fedora-modules-only-latest.tar.gz"
|
||||
MD5SUM="2a447828ca9290dd6bdf2336b2889bb0 eb24ff0ec5b7646dd1b077f3b379712b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Guan-Zhong Huang"
|
||||
EMAIL="imprazaguy@gmail.com"
|
||||
APPROVED="Niels Horn"
|
||||
APPROVED="Niels Horn,Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue