diff options
Diffstat (limited to 'network/mailspring/mailspring.SlackBuild')
-rw-r--r-- | network/mailspring/mailspring.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/network/mailspring/mailspring.SlackBuild b/network/mailspring/mailspring.SlackBuild index b717959d592d4..43620537e41c2 100644 --- a/network/mailspring/mailspring.SlackBuild +++ b/network/mailspring/mailspring.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mailspring -VERSION=${VERSION:-1.11.0} +VERSION=${VERSION:-1.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,7 +55,6 @@ if [ "$ARCH" = "i586" ]; then exit 1 elif [ "$ARCH" = "x86_64" ]; then DEBARCH="amd64" - LIBDIRSUFFIX="64" else echo "Package for $(uname -m) architecture is not available." exit 1 @@ -75,6 +74,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix some ELF binaries'/libraries' permissions +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | while read -r ELF_FILE; do + if [ ! -x "$ELF_FILE" ]; then + chmod +x "$ELF_FILE" + fi + done + 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 |