# Maintainer: Klaus Alexander Seistrup # -*- sh -*- pkgname='simplex-chat-bin' _pkgname="${pkgname%%-bin}" epoch=1 pkgver=5.8.1 pkgrel=1 pkgdesc='A 100% private-by-design chat platform for the command-line (pre-compiled)' arch=('x86_64') _platform='ubuntu-22_04-x86-64' url='https://simplex.chat/' _rawurl='https://raw.githubusercontent.com/simplex-chat/simplex-chat/stable' source=( "$_pkgname-$pkgver::https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/$_pkgname-$_platform" "$_rawurl/PRIVACY.md" "$_rawurl/README.md" "$_rawurl/docs/CLI.md" "$_rawurl/docs/SIMPLEX.md" 'logo-symbol-dark.svg' 'logo-symbol-light.svg' 'simplex-chat.desktop' ) sha512sums=( 'a66f6bc79c11627027217d45b70cf29d809dfc0facb4a13bf614e5267adfd9f8da87a97259b1c579756a4d1651f40da4b78d35795ba0b31bbc13fe56352b7500' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' ) license=('AGPL-3.0-or-later') # SPDX-License-Identifier: AGPL-3.0-or-later depends=( 'glibc' 'gmp' 'hicolor-icon-theme' 'openssl' 'zlib' ) provides=('simplex-chat') conflicts=('simplex-chat') build() { case "${SIMPLEX_ICON:-light}" in light ) _shade='light'; _other='dark' ;; dark ) _shade='dark' ; _other='light' ;; * ) _shade='light'; _other='dark' ;; esac cat <