From 9da47178680a922a38f0231a3c0fc1b3c18af9b4 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 19 Mar 2016 17:15:59 +0000 Subject: libraries/libvmime: Support alternate zipfile name. Signed-off-by: David Spencer --- libraries/libvmime/libvmime.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libraries') diff --git a/libraries/libvmime/libvmime.SlackBuild b/libraries/libvmime/libvmime.SlackBuild index 10eb0927c8..6693de9b56 100644 --- a/libraries/libvmime/libvmime.SlackBuild +++ b/libraries/libvmime/libvmime.SlackBuild @@ -61,17 +61,18 @@ fi set -e -rm -rf $TMP/$SRCNAM-$GITVER $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -unzip $CWD/$GITVER.zip +rm -rf $SRCNAM-$GITVER +unzip $CWD/$GITVER.zip || unzip $CWD/$SRCNAM-$GITVER.zip cd $SRCNAM-$GITVER 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 {} \; mkdir -p build cd build -- cgit v1.2.3