blob: 26d165a66c514a3faa5cf1fd79997742103a89af (
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: Janek Thomaschewski <janek@thomaschewski.dev>
pkgname=rambox-bin
_pkgname=Rambox
pkgver=0.8.0
pkgrel=1
pkgdesc='Free and Open Source messaging and emailing app that combines common web applications into one.'
arch=('i686' 'x86_64')
depends=('desktop-file-utils' 'gtk3' 'libappindicator-gtk3' 'libnotify' 'libxtst' 'libxss' 'libxkbcommon' 'libsecret' 'nss' 'libutil-linux')
provides=('rambox')
conflicts=('rambox')
url='http://rambox.pro/'
license=('GPL3')
source_i686=("https://github.com/ramboxapp/community-edition/releases/download/$pkgver/${_pkgname}-$pkgver-linux-i386.deb")
source_x86_64=("https://github.com/ramboxapp/community-edition/releases/download/$pkgver/${_pkgname}-$pkgver-linux-amd64.deb")
sha256sums_i686=('3529e194add9d1994c9cec09208609405d161e49e9a783e2eec9ad50ae54047f')
sha256sums_x86_64=('87fecf3985fed9b3cbc09aa544c738cbaae2cfab9bd49bdc5c613bace404055f')
package() {
# extract package data
tar xf data.tar.xz -C "${pkgdir}"
# install symbolic link in /usr/bin
install -d -m755 "${pkgdir}/usr/bin"
ln -s "/opt/${_pkgname}/rambox" "${pkgdir}/usr/bin"
# fix crash on some systems due to https://github.com/ramboxapp/community-edition/issues/2481
chmod 4755 "${pkgdir}/opt/${_pkgname}/chrome-sandbox"
}
|