[arch-commits] Commit in soapysdr/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Mon Aug 13 14:28:52 UTC 2018


    Date: Monday, August 13, 2018 @ 14:28:51
  Author: ffy00
Revision: 371288

archrelease: copy trunk to community-testing-x86_64

Added:
  soapysdr/repos/community-testing-x86_64/
  soapysdr/repos/community-testing-x86_64/PKGBUILD
    (from rev 371287, soapysdr/trunk/PKGBUILD)

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

Copied: soapysdr/repos/community-testing-x86_64/PKGBUILD (from rev 371287, soapysdr/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-08-13 14:28:51 UTC (rev 371288)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
+
+pkgname=soapysdr
+_pkgname=SoapySDR
+pkgver=0.6.1
+_gitver=soapy-sdr-$pkgver
+pkgrel=1
+pkgdesc="Vendor and platform neutral SDR support library"
+arch=('x86_64')
+url="https://github.com/pothosware/SoapySDR"
+license=('Boost')
+depends=('python')
+makedepends=('cmake' 'swig')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha256sums=('2ecf8e43518dfb24bd172923adf6ce25a6d3e39de3a8aadf26c890f60dd1e9f7')
+
+build() {
+  mkdir -p "$srcdir"/$_pkgname-$_gitver/build
+  cd "$srcdir"/$_pkgname-$_gitver/build
+
+  cmake .. \
+    -DSOAPY_SDR_EXTVER=ARCH \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+
+  make
+}
+
+package() {
+  cd "$srcdir"/$_pkgname-$_gitver/build
+
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list