[arch-commits] Commit in soapyrtlsdr/repos (2 files)
Filipe Laíns
ffy00 at archlinux.org
Tue Aug 14 19:12:31 UTC 2018
Date: Tuesday, August 14, 2018 @ 19:12:30
Author: ffy00
Revision: 371637
archrelease: copy trunk to community-x86_64
Added:
soapyrtlsdr/repos/community-x86_64/
soapyrtlsdr/repos/community-x86_64/PKGBUILD
(from rev 371636, soapyrtlsdr/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: soapyrtlsdr/repos/community-x86_64/PKGBUILD (from rev 371636, soapyrtlsdr/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-08-14 19:12:30 UTC (rev 371637)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=soapyrtlsdr
+_pkgname=SoapyRTLSDR
+pkgver=0.2.5
+_gitver=soapy-rtlsdr-$pkgver
+pkgrel=2
+pkgdesc="SoapySDR RTL-SDR Support Module"
+arch=('x86_64')
+url="https://github.com/pothosware/SoapyRTLSDR"
+license=('MIT')
+depends=('soapysdr' 'rtl-sdr')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha256sums=('381a2b5f02444fb1e688b49d742fb54bd5f624b96e710b470203fc4643148c15')
+
+build() {
+ mkdir -p "$srcdir"/$_pkgname-$_gitver/build
+ cd "$srcdir"/$_pkgname-$_gitver/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$_pkgname-$_gitver/build
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm 644 "$srcdir"/$_pkgname-$_gitver/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list