aboutsummaryrefslogtreecommitdiff
path: root/office/sc-im/sc-im.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/sc-im/sc-im.SlackBuild')
-rw-r--r--office/sc-im/sc-im.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/office/sc-im/sc-im.SlackBuild b/office/sc-im/sc-im.SlackBuild
index d5bd6b18e0f36..2d19701af21fe 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