diff options
author | Jostein Berntsen <jbernts@broadpark.no> | 2017-02-24 03:12:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-24 04:16:54 +0700 |
commit | 95c01f5b134dd78fb4802914d92d240e5c67de31 (patch) | |
tree | b91a6d3b3f14749115fd1ca3916cd1fd69f32332 /office/sc-im/sc-im.SlackBuild | |
parent | ecc87d9b885f2fd2333b9dc63c45e8f49ee6a568 (diff) | |
download | slackbuilds-95c01f5b134dd78fb4802914d92d240e5c67de31.tar.gz |
office/sc-im: Updated for version 0.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/sc-im/sc-im.SlackBuild')
-rw-r--r-- | office/sc-im/sc-im.SlackBuild | 7 |
1 files changed, 3 insertions, 4 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 |