summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78bada845329f2880038d5040bf137dcf9df42b2 (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
# Maintainer: valvetime <valvetimepackages@gmail.com>
# Contributor: Tom Swartz <tom@tswartz.net>

pkgname=soapyrtlsdr-git
pkgver=20151225
pkgrel=1
pkgdesc="SoapySDR RTL-SDR Support Module"
arch=('any')
url="https://github.com/pothosware/SoapySDR"
license=('MIT')
depends=('soapysdr-git' 'rtl-sdr')
makedepends=('git')
source=(${pkgname}::"git+https://github.com/pothosware/SoapyRTLSDR.git")
sha256sums=('SKIP')


build() {
        cd "${srcdir}/${pkgname}"
        mkdir -p build
        cd build
        cmake .. -DCMAKE_BUILD_TYPE=Release
        make -j4
}

package() {
        make -C "${srcdir}/${pkgname}/build" DESTDIR="${pkgdir}" install
}