summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Jostein Berntsen2017-02-23 21:12:09 +0100
committer Willy Sudiarto Raharjo2017-02-23 22:16:54 +0100
commit95c01f5b134dd78fb4802914d92d240e5c67de31 (patch)
treeb91a6d3b3f14749115fd1ca3916cd1fd69f32332
parentecc87d9b885f2fd2333b9dc63c45e8f49ee6a568 (diff)
downloadslackbuilds-95c01f5b134dd78fb4802914d92d240e5c67de31.tar.gz
office/sc-im: Updated for version 0.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/sc-im/sc-im.SlackBuild7
-rw-r--r--office/sc-im/sc-im.info6
2 files changed, 6 insertions, 7 deletions
diff --git a/office/sc-im/sc-im.SlackBuild b/office/sc-im/sc-im.SlackBuild
index d5bd6b18e0..2d19701af2 100644
--- a/office/sc-im/sc-im.SlackBuild
+++ b/office/sc-im/sc-im.SlackBuild
@@ -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
diff --git a/office/sc-im/sc-im.info b/office/sc-im/sc-im.info
index 072115b2a4..c2a1b4b963 100644
--- a/office/sc-im/sc-im.info
+++ b/office/sc-im/sc-im.info
@@ -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=""