summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cb11290b503c0df34b668a10f43f35c8f1b766a1 (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
# Maintainer: Joakim Nylén <me@jnylen.nu>

pkgname=mailspring
pkgver=1.0.1
pkgrel=2
pkgdesc="A beautiful, fast and maintained fork of Nylas Mail by one of the original authors."
arch=('x86_64')
license=('GPL3')
url="https://getmailspring.com/"
options=('!strip' '!upx')

source=()
sha256sums=()
sha256sums_x86_64=('3d1796268d6169d24427f00dce229305943d516bbe060dc4cdef4db615f4f380')

source_x86_64=("https://mailspring-builds.s3.amazonaws.com/client/ba1d6734/linux/mailspring-${pkgver}-amd64.deb")
depends=("libsasl>=2.0.0", "libgnome-keyring", "libtool", "c-ares", "ctemplate", "icu", "libxext",
         "openssl", "tidy", "libxtst", "libxkbfile", "glib2", "libxml2", "libutil-linux")

package() {
	cd ${srcdir}

	tar -xvf data.tar.xz -C ${pkgdir} --exclude='./control'

  # mailspring calls libsasl2.so.2 for some reason when arch have .3
  ln -s /usr/lib/libsasl2.so.3 /usr/lib/libsasl2.so.2

	chmod -R go-w "${pkgdir}"/usr
}