diff options
Diffstat (limited to 'network/mailspring')
-rw-r--r-- | network/mailspring/doinst.sh | 7 | ||||
-rw-r--r-- | network/mailspring/mailspring.SlackBuild | 11 | ||||
-rw-r--r-- | network/mailspring/mailspring.info | 6 |
3 files changed, 17 insertions, 7 deletions
diff --git a/network/mailspring/doinst.sh b/network/mailspring/doinst.sh index 7b676c401a..726ffe403b 100644 --- a/network/mailspring/doinst.sh +++ b/network/mailspring/doinst.sh @@ -1,6 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications fi -if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -q usr/share/icons/hicolor + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi fi diff --git a/network/mailspring/mailspring.SlackBuild b/network/mailspring/mailspring.SlackBuild index de3813c42d..f9e2be620b 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.10.3} +VERSION=${VERSION:-1.13.3} 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 7162a9733b..7f57b31a80 100644 --- a/network/mailspring/mailspring.info +++ b/network/mailspring/mailspring.info @@ -1,10 +1,10 @@ PRGNAM="mailspring" -VERSION="1.10.3" +VERSION="1.13.3" HOMEPAGE="https://getmailspring.com/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/Foundry376/Mailspring/releases/download/1.10.3/mailspring-1.10.3-amd64.deb" -MD5SUM_x86_64="caeadedf513b37a5fb6fd7e3b27727c7" +DOWNLOAD_x86_64="https://github.com/Foundry376/Mailspring/releases/download/1.13.3/mailspring-1.13.3-amd64.deb" +MD5SUM_x86_64="d5c1591ccd9aba9d41fbc66ce5fc1626" REQUIRES="" MAINTAINER="Muhammad Mahendra Subrata" EMAIL="mumahendras3@gmail.com" |