upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / rtl-sdr-lms / repos / community-x86_64 / PKGBUILD
blob7f3a05b57d036a07e9dd4997409eb41496adf5d3
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
3 pkgname=rtl-sdr-lms
4 _pkgname=lms-rtl-sdr
5 pkgver=r343.b459a70
6 _commit=b459a705f30f2cc8b21362aab7f3cf7a32ef5981
7 pkgrel=1
8 pkgdesc='Support LimeSuite devices under the rtl-sdr API'
9 arch=('x86_64')
10 url='https://github.com/pothosware/lms-rtl-sdr'
11 license=('GPL3')
12 depends=('limesuite')
13 makedepends=('cmake')
14 provides=('rtl-sdr')
15 conflicts=('rtl-sdr')
16 source=("$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
17 sha512sums=('691dfad977b089a83d883072aabe15ecb631958d9be8971947c13f8bf064613c0c3d080938772b92a1ec3e8f5b22d38be56ea553a1603f17f34f94dc38a2dcd1')
19 build() {
20   mkdir -p $_pkgname-$_commit/build
21   cd $_pkgname-$_commit/build
23   cmake .. \
24     -DCMAKE_INSTALL_PREFIX=/usr \
25     -DCMAKE_BUILD_TYPE=Release
27   make
30 package() {
31   cd $_pkgname-$_commit/build
33   make DESTDIR="$pkgdir" install