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 diff --git a/network/remmina/remmina.info b/network/remmina/remmina.info index 947494e3b5..7776da2433 100644 --- a/network/remmina/remmina.info +++ b/network/remmina/remmina.info @@ -3,7 +3,7 @@ VERSION="1.2.0_rcgit.1" HOMEPAGE="http://remmina.sourceforge.net" DOWNLOAD="https://github.com/FreeRDP/Remmina/archive/v1.2.0-rcgit.1.tar.gz \ http://pkgs.fedoraproject.org/repo/pkgs/libssh/libssh-0.6.4.tar.gz/5d092f911492e3ee4cd7b473f09a0196/libssh-0.6.4.tar.gz" -MD5SUM="bd92d1beb5c0c3acb6e32ad546e30d84 \ +MD5SUM="7b5df647a9fb0be206cfabd273bc91f4 \ 5d092f911492e3ee4cd7b473f09a0196" DOWNLOAD_x86_64="" MD5SUM_x86_64=""