diff options
author | Thomas Szteliga <ts@websafe.pl> | 2015-08-27 20:15:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-27 23:40:06 +0700 |
commit | a6af6bf9da39d46c9ca831ff6b03266588bd00f9 (patch) | |
tree | f75a753bc214179cb3ec29dee8f6e28f23154a72 /network/remmina/remmina.SlackBuild | |
parent | 28d3843e7fbed6358e6decb2b2193f3f7f2f6f36 (diff) | |
download | slackbuilds-a6af6bf9da39d46c9ca831ff6b03266588bd00f9.tar.gz |
network/remmina: Update MD5SUM.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/remmina/remmina.SlackBuild')
-rw-r--r-- | network/remmina/remmina.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/network/remmina/remmina.SlackBuild b/network/remmina/remmina.SlackBuild index 8ce1eb99b6..80f30cabef 100644 --- a/network/remmina/remmina.SlackBuild +++ b/network/remmina/remmina.SlackBuild @@ -30,7 +30,7 @@ BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=Remmina -TARVERSION=${VERSION/_/-} +TARVERSION=$(echo $VERSION | tr _ -) AVAHI=${AVAHI:-OFF} TELEPATHY=${TELEPATHY:-OFF} @@ -68,18 +68,18 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-${TARVERSION#v} -tar xvf $CWD/v$TARVERSION.tar.?z* -cd $SRCNAM-${TARVERSION#v} +rm -rf $SRCNAM-$TARVERSION +tar xvf $CWD/$SRCNAM-$TARVERSION.tar.gz || tar xvf $CWD/v$TARVERSION.tar.gz +cd $SRCNAM-$TARVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fix libdirsuffix in CMakeLists.txt -sed "s|/lib/remmina|/lib$LIBDIRSUFFIX/remmina|g" -i CMakeLists.txt || exit 1 +sed "s|/lib/remmina|/lib$LIBDIRSUFFIX/remmina|g" -i CMakeLists.txt # Apply a whole lotta patches (if available)... [ -d $CWD/patches ] && for i in $CWD/patches/*; do patch -p1 -i $i ; done |