office/sc-im: Updated for version 0.5.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jostein Berntsen 2017-02-24 03:12:09 +07:00 committed by Willy Sudiarto Raharjo
parent ecc87d9b88
commit 95c01f5b13
2 changed files with 6 additions and 7 deletions

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sc-im
VERSION=${VERSION:-0.4.0}
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -70,6 +70,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd src/
perl -pi -e 's#name = scim#name = sc-im#g|s#prefix = /usr/local#prefix = /usr#g' Makefile
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make
@ -78,9 +80,6 @@ make install DESTDIR=$PKG
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
# This avoid conflict with Slackware's scim package
mv $PKG/usr/bin/scim $PKG/usr/bin/sc-im
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

View File

@ -1,8 +1,8 @@
PRGNAM="sc-im"
VERSION="0.4.0"
VERSION="0.5.0"
HOMEPAGE="https://github.com/andmarti1424/sc-im"
DOWNLOAD="https://github.com/andmarti1424/sc-im/archive/v0.4.0/sc-im-0.4.0.tar.gz"
MD5SUM="2f9376e1b46a32e1d041b7fe8248abba"
DOWNLOAD="https://github.com/andmarti1424/sc-im/archive/v0.5.0/sc-im-0.5.0.tar.gz"
MD5SUM="d7ffd643bfc421b2c0c7bd2531fc630b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""