diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-03-19 17:15:59 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-20 07:37:45 +0700 |
commit | 9da47178680a922a38f0231a3c0fc1b3c18af9b4 (patch) | |
tree | f1ab191d1e56dc48787914a1aba7042d02081f73 /libraries/libvmime | |
parent | 20437a441108bcff766f36893bee64811bcc4345 (diff) |
libraries/libvmime: Support alternate zipfile name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libvmime')
-rw-r--r-- | libraries/libvmime/libvmime.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/libvmime/libvmime.SlackBuild b/libraries/libvmime/libvmime.SlackBuild index 10eb0927c8bb..6693de9b563b 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 |