1 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
6 _gitver=soapy-hackrf-$pkgver
8 pkgdesc='Soapy SDR plugin for the HackRF'
10 url='https://github.com/pothosware/SoapyHackRF'
12 depends=('soapysdr' 'hackrf')
14 source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
15 sha512sums=('950fc0d2d9b1a5946605d0f7f934a3d92facb6878251e8d9a673384db85e1b776ab27fd3499db11d482d599f78e705b9394b5e1238935d297252ab5acc8fb935')
18 mkdir -p $_pkgname-$_gitver/build
19 cd $_pkgname-$_gitver/build
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release
29 cd $_pkgname-$_gitver/build
31 make DESTDIR="$pkgdir" install