From 272040471a18286c68018083c99227175fb57129 Mon Sep 17 00:00:00 2001 From: Muhammad Mahendra Subrata Date: Sat, 18 Nov 2023 03:50:31 +0700 Subject: network/mailspring: Updated for version 1.12.0 Signed-off-by: Willy Sudiarto Raharjo --- network/mailspring/mailspring.SlackBuild | 11 +++++++++-- network/mailspring/mailspring.info | 6 +++--- 2 files changed, 12 insertions(+), 5 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 diff --git a/network/mailspring/mailspring.info b/network/mailspring/mailspring.info index 9b7c570b3c5f4..99f7a84df0584 100644 --- a/network/mailspring/mailspring.info +++ b/network/mailspring/mailspring.info @@ -1,10 +1,10 @@ PRGNAM="mailspring" -VERSION="1.11.0" +VERSION="1.12.0" HOMEPAGE="https://getmailspring.com/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/Foundry376/Mailspring/releases/download/1.11.0/mailspring-1.11.0-amd64.deb" -MD5SUM_x86_64="e8857ee684388ae51e3c097f7a62e009" +DOWNLOAD_x86_64="https://github.com/Foundry376/Mailspring/releases/download/1.12.0/mailspring-1.12.0-amd64.deb" +MD5SUM_x86_64="fb05ef0e4dc7e402b8f0265ffa5e41d0" REQUIRES="" MAINTAINER="Muhammad Mahendra Subrata" EMAIL="mumahendras3@gmail.com" -- cgit v1.2.3