[arch-commits] Commit in soapynetsdr/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat May 25 17:04:08 UTC 2019


    Date: Saturday, May 25, 2019 @ 17:04:08
  Author: ffy00
Revision: 470688

upgpkg: soapynetsdr r4.03134e-1

Added:
  soapynetsdr/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-25 17:04:08 UTC (rev 470688)
@@ -0,0 +1,34 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=soapynetsdr
+pkgver=r4.03134e
+_pkgname=SoapyNetSDR
+_gitver=soapy-netsdr-$pkgver
+_gitver=03134e8a0b5871764754a96d54906aaf22f65c79
+pkgrel=1
+pkgdesc='Soapy SDR Support Module for NetSDR protocol'
+arch=('x86_64')
+url='https://github.com/pothosware/SoapyNetSDR'
+license=('GPL3')
+depends=('soapysdr')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha512sums=('5f046e37af1e81e15272eb775e08383a318721a83f0e206ab4de72e4a482997d6cc1d318d42ca905db5d053b2e8998c3d2048e3d4d3e22a1bc2a5cf84d42a774')
+
+build() {
+  mkdir -p $_pkgname-$_gitver/build
+  cd $_pkgname-$_gitver/build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+
+  make
+}
+
+package() {
+  cd $_pkgname-$_gitver/build
+
+  make DESTDIR="$pkgdir" install
+}
+



More information about the arch-commits mailing list