[arch-commits] Commit in (4 files)

Filipe Laíns ffy00 at archlinux.org
Tue Aug 14 18:58:36 UTC 2018


    Date: Tuesday, August 14, 2018 @ 18:58:36
  Author: ffy00
Revision: 371635

import from aur

Added:
  soapyrtlsdr/
  soapyrtlsdr/repos/
  soapyrtlsdr/trunk/
  soapyrtlsdr/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: soapyrtlsdr/trunk/PKGBUILD
===================================================================
--- soapyrtlsdr/trunk/PKGBUILD	                        (rev 0)
+++ soapyrtlsdr/trunk/PKGBUILD	2018-08-14 18:58:36 UTC (rev 371635)
@@ -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=1
+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
+}


Property changes on: soapyrtlsdr/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list