diff options
author | valvetime | 2015-12-25 17:27:43 +0200 |
---|---|---|
committer | valvetime | 2015-12-25 17:27:43 +0200 |
commit | e9f8618f9f0ae3b3511034cff1e8e4a682b40129 (patch) | |
tree | c2bdd9980337274275012fdf61db21b30381adaf | |
download | aur-e9f8618f9f0ae3b3511034cff1e8e4a682b40129.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4af631057b7c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Fri Dec 25 15:24:44 UTC 2015 +pkgbase = soapyrtlsdr-git + pkgdesc = SoapySDR RTL-SDR Support Module + pkgver = 20151225 + pkgrel = 1 + url = https://github.com/pothosware/SoapySDR + arch = any + license = MIT + makedepends = git + depends = soapysdr-git + depends = rtl-sdr + source = soapyrtlsdr-git::git+https://github.com/pothosware/SoapyRTLSDR.git + sha256sums = SKIP + +pkgname = soapyrtlsdr-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..78bada845329 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} + |