upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / soapyhackrf / trunk / PKGBUILD
blob9cdfe94107476652551a1dc68e4c0b890264d4e1
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
3 pkgname=soapyhackrf
4 pkgver=0.3.4
5 _pkgname=SoapyHackRF
6 _gitver=soapy-hackrf-$pkgver
7 pkgrel=1
8 pkgdesc='Soapy SDR plugin for the HackRF'
9 arch=('x86_64')
10 url='https://github.com/pothosware/SoapyHackRF'
11 license=('GPL3')
12 depends=('soapysdr' 'hackrf')
13 makedepends=('cmake')
14 source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
15 sha512sums=('950fc0d2d9b1a5946605d0f7f934a3d92facb6878251e8d9a673384db85e1b776ab27fd3499db11d482d599f78e705b9394b5e1238935d297252ab5acc8fb935')
17 build() {
18   mkdir -p $_pkgname-$_gitver/build
19   cd $_pkgname-$_gitver/build
21   cmake .. \
22     -DCMAKE_INSTALL_PREFIX=/usr \
23     -DCMAKE_BUILD_TYPE=Release
25   make
28 package() {
29   cd $_pkgname-$_gitver/build
31   make DESTDIR="$pkgdir" install