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

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


    Date: Saturday, May 25, 2019 @ 17:20:13
  Author: ffy00
Revision: 470700

archrelease: copy trunk to community-x86_64

Added:
  soapyairspy/repos/community-x86_64/
  soapyairspy/repos/community-x86_64/PKGBUILD
    (from rev 470699, soapyairspy/trunk/PKGBUILD)

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

Copied: soapyairspy/repos/community-x86_64/PKGBUILD (from rev 470699, soapyairspy/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-05-25 17:20:13 UTC (rev 470700)
@@ -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