network/mailspring: Updated for version 1.12.0

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Muhammad Mahendra Subrata 2023-11-18 03:50:31 +07:00 committed by Willy Sudiarto Raharjo
parent 1197900c2a
commit 272040471a
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 5 deletions

View File

@ -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

View File

@ -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"