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

pkgname=sparksdr-bin
pkgver=2.0.33
pkgrel=2
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')
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!"
}