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

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


    Date: Saturday, May 25, 2019 @ 17:20:10
  Author: ffy00
Revision: 470699

upgpkg: soapyairspy 0.1.2-1

Added:
  soapyairspy/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-25 17:20:10 UTC (rev 470699)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=soapyairspy
+pkgver=0.1.2
+_pkgname=SoapyAirspy
+_gitver=soapy-airspy-$pkgver
+pkgrel=1
+pkgdesc='Soapy SDR plugin for the Airspy'
+arch=('x86_64')
+url='https://github.com/pothosware/SoapyAirspy'
+license=('GPL3')
+depends=('soapysdr' 'airspy')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha512sums=('5f04b7e94f743d3eb5f3577ad624a56ac6dbc8b872242b625390dd3ce0a7c7b66b02147338dd5c3d0f64d16580c9511bc99769c0240765f41db2dd87bb264ecf')
+
+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