summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f19a3b9553618840ed891573d8691c8529d5b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Eric S. Londres <ericlondres@protonmail.com>
# Contributor: Joakim Nylén <me@jnylen.nu>
# Contributor: Rashintha Maduneth <rashinthamaduneth@gmail.com>
# Contributor: Dhananjay Balan <mail@dbalan.in>
# Contributor: ahrs

pkgname=mailspring
pkgver=1.10.0
pkgrel=2
pkgdesc="A beautiful, fast and maintained fork of Nylas Mail by one of the original authors."
arch=('x86_64')
license=('custom: GPL3 and (C) 2016-2019 Foundry 376, LLC.')
url="https://getmailspring.com/"
options=('!strip')

source=()

source_x86_64=("https://github.com/Foundry376/Mailspring/releases/download/${pkgver}/mailspring-${pkgver}-amd64.deb")
sha256sums_x86_64=('e90bf0e2c9d634c92091923ce9df63d80962c7847ff41f60c94f29cd4094ec44')

depends=("libxss" "libtool" "c-ares" "ctemplate" "tidy" "libxkbfile" "libsecret" "gtk3" "nss" "libglvnd")

optdepends=('libappindicator-gtk3: for system tray support' "libgnome-keyring: keyrings" "gnome-keyring: keyrings" )

package() {
	  	cd ${srcdir}

	tar -xvf data.tar.xz -C ${pkgdir} --exclude='./control'
    chmod go-w "${pkgdir}"/usr "${pkgdir}"/usr/bin
    chmod -R go-w "${pkgdir}"/usr/share
}