summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2f4f69876b50ef056dd3a8c1f1dd4627517da4b (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
# Maintainer: f4iey (f4iey@f6kgl.ampr.org)

pkgname=sparksdr-bin
pkgver=2.0.33
pkgrel=3
pkgdesc="Cross platform sdr application for Hermes Lite and Open HPSDR compatible radios (Red Pitya, Apache labs)."
arch=('x86_64' 'arm' 'arm64')
url="https://www.sparksdr.com/download/"
license=("custom")
#makedepends=('git')
depends=('icu' 'openssl' 'krb5' 'portaudio' 'rnnoise')
optdepends=('wsjtx')
provides=(sparksdr)

if [ "$CARCH" == "x86_64" ]; then
    debfile="SparkSDR.${pkgver}.linux-x64.deb"
    sha256sums=('SKIP')
elif [ "$CARCH" == "arm" ]; then
    debfile="SparkSDR.${pkgver}.linux-arm.deb"
    sha256sums=('SKIP')
elif [ "$CARCH" == "arm64" ]; then
    debfile="SparkSDR.${pkgver}.linux-arm64.deb"
    sha256sums=('SKIP')
fi

source=("$url${debfile}")

package() {
    cd "$srcdir"
    tar -C ${pkgdir}/ -xvf data.tar.xz
    cd "$pkgdir"
    chmod -R 755 usr/
    echo "done!"
}