blob: 09f7038fdf94e0fd3df1e5235c6320a8c31da3f7 (
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: Konrad Beckmann <konrad.beckmann@gmail.com>
pkgname=soapyairspyhf-git
pkgver=r28.b6cfbf5
pkgrel=1
epoch=2
pkgdesc="SoapySDR plugin for Airspy HF+"
arch=('any')
url="https://github.com/pothosware/SoapyAirspyHF"
license=('MIT')
depends=('soapysdr' 'airspyhf')
makedepends=('git' 'cmake')
provides=('soapyairspyhf')
conflicts=('soapyairspyhf')
source=(${pkgname}::"git+https://github.com/pothosware/SoapyAirspyHF.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
make -C "${srcdir}/${pkgname}/build" DESTDIR="${pkgdir}" install
}
|