diff --git a/play.d/mailspring.sh b/play.d/mailspring.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c2e14aff6c00e5ec7b966fb8b6c0cd6ba9c7c40 --- /dev/null +++ b/play.d/mailspring.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +PKGNAME=mailspring +SUPPORTEDARCHES="x86_64" +VERSION="$2" +DESCRIPTION="Mailspring - a beautiful, fast and fully open source mail client" +URL="https://www.getmailspring.com/" + +. $(dirname $0)/common.sh + + +# https://github.com/Foundry376/Mailspring/releases/download/1.13.3/mailspring-1.13.3-amd64.deb +arch=amd64 +pkgtype=deb + +PKGURL=$(epm tool eget --list --latest https://github.com/Foundry376/Mailspring/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype") || fatal "Can't get package URL" + +epm install "$PKGURL" diff --git a/repack.d/mailspring.sh b/repack.d/mailspring.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3aa07b0ac3e78cdcce270a6aab11c7310885dc5 --- /dev/null +++ b/repack.d/mailspring.sh @@ -0,0 +1,22 @@ +#!/bin/sh -x + +# It will be run with two args: buildroot spec +BUILDROOT="$1" +SPEC="$2" + +. $(dirname $0)/common-chromium-browser.sh + +move_to_opt + +# used by libscram.so +ignore_lib_requires libcrypto.so.1.0.0 +# used by libsasldb.so +ignore_lib_requires libdb-5.3.so + +rm -v usr/bin/$PRODUCT +add_bin_link_command + +#add_electron_deps +add_libs_requires + +fix_chrome_sandbox