blob: e15d54c1e6e0d06bf5efba4881f6c317f5d80ce5 (
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
|
# Maintainer: matthewq337 <matt at mattquintanilla dot xyz>
# Maintainer: iamawacko <iamawacko@protonmail.com>
# Contributor: Nep_Nep <nepnep91 at child dot pizza>
# Contributor: Klaus Alexander Seistrup <$(echo 0x1fd+d59decfa=40 | tr 0-9+a-f=x ka-i@p-u.l)>
pkgname=simplex-desktop-bin
pkgver=6.3.5
pkgrel=1
pkgdesc='SimpleX Chat, the first messaging network operating without user identifiers of any kind (pre-compiled)'
arch=('x86_64')
url='https://simplex.chat/'
license=('AGPL-3.0-or-later')
source=("$pkgname-$pkgver.deb::https://github.com/simplex-chat/simplex-chat/releases/download/v$pkgver/simplex-desktop-ubuntu-22_04-x86_64.deb")
# SHA512 digest taken from release page on Microsoft GitHub
sha512sums=('c5083005aac51ac570a66de1c607aa88a83dd2786afda3ef8f83d2d470f6eb0b8eb275bb03558e021eb4f5efaf65c94936d7afd75002016e1386c45ea08f35dc')
package() {
cd "$srcdir"
tar --zstd -xvf data.tar.zst -C "$pkgdir"
mkdir -p "$pkgdir/usr/share/applications"
ln -s /opt/simplex/lib/simplex-simplex.desktop "$pkgdir/usr/share/applications/simplex.desktop"
mkdir -p "$pkgdir/usr/bin"
ln -s /opt/simplex/bin/simplex "$pkgdir/usr/bin/simplex-desktop"
}
|