summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Muhammad Mahendra Subrata <mumahendras3@gmail.com>2023-11-18 03:50:31 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-19 00:02:18 +0700
commit272040471a18286c68018083c99227175fb57129 (patch)
treee834a65517a626b460c0f0634e414bc3f9bef1ea
parent1197900c2a42acdbbf633e12767503866320ba48 (diff)
downloadslackbuilds-272040471a18286c68018083c99227175fb57129.tar.gz
slackbuilds-272040471a18286c68018083c99227175fb57129.tar.xz
network/mailspring: Updated for version 1.12.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/mailspring/mailspring.SlackBuild11
-rw-r--r--network/mailspring/mailspring.info6
2 files changed, 12 insertions, 5 deletions
diff --git a/network/mailspring/mailspring.SlackBuild b/network/mailspring/mailspring.SlackBuild
index b717959d59..43620537e4 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 9b7c570b3c..99f7a84df0 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"