blob: 32d472093de9c0bc15472b79985a593f1c4e0de4 (
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
32
33
34
35
36
|
# Maintainer: Jah Way <jahway603 at protonmail dot com>
# Contributor: Thomas Queiroz <thomasqueirozb @ g m a i l.c o m>
# Contributor: Sergio Schneider <spsf1964 @ g m a i l.c o m>
pkgname=session-desktop-appimage
_pkgname=session-desktop
pkgver=1.12.3
pkgrel=1
pkgdesc="Private messaging from your desktop (AppImage version)"
arch=('x86_64')
url="https://github.com/oxen-io/session-desktop"
license=('GPL3')
depends=('gtk2' 'libnotify' 'libxtst' 'nss' 'xdg-utils' 'libxss' 'fuse2')
provides=('session-desktop')
conflicts=('session-desktop' 'session-desktop-bin' 'session-desktop-git')
_bin="session-desktop-linux-x86_64-${pkgver}.AppImage"
source=("${_bin}::$url/releases/download/v${pkgver}/${_bin}"
"https://raw.githubusercontent.com/oxen-io/session-desktop/clearnet/LICENSE"
'session-desktop.desktop'
'session-desktop.png')
sha512sums=('089231dcf9fb952afad156a2a2ae79e5ec0cc1008ae86e0e40eb86e79feb0df5dac2cf42ca69c246b8bc563e02c3fe4076e61d19c85ca79f37ed1ce2e6a79315'
'ea093221d733c540ae68e959d1f99a7983f1467641c04ec829ae4d458577bd5f92b5b624e6114cd3dc25bd97705a9678aa909a004cbafc5847224917793a04ea'
'96e2a021ebf7a5904cbd47aabf8d03f450a3ee2831d7ecfad5f1518b4214609acc9fd51ad8ca189875c19a99f28f7fd71e5028999c58e404210f2401f4e6babd'
'209d1483601018e2191719117a59da3112570b2e1ae176337a918d4ab2c4032dfddf14d42e4a3b2153888167e694542bbc1f42297589d035ab29f2578877425d')
options=('!strip' '!emptydirs')
package() {
install -Dm644 "${srcdir}/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
install -Dm755 "${srcdir}/${_bin}" "${pkgdir}/opt/session-desktop/${_bin}"
install -Dm644 "${srcdir}/session-desktop.desktop" "${pkgdir}/usr/share/applications/session-desktop.desktop"
install -Dm644 "${srcdir}/session-desktop.png" "${pkgdir}/opt/session-desktop/session-desktop.png"
mkdir -p "${pkgdir}/usr/bin/"
ln -s "/opt/session-desktop/${_bin}" "${pkgdir}/usr/bin/session-desktop"
}
|