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

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


    Date: Saturday, May 25, 2019 @ 17:11:07
  Author: ffy00
Revision: 470694

archrelease: copy trunk to community-x86_64

Added:
  soapybladerf/repos/community-x86_64/
  soapybladerf/repos/community-x86_64/PKGBUILD
    (from rev 470693, soapybladerf/trunk/PKGBUILD)

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

Copied: soapybladerf/repos/community-x86_64/PKGBUILD (from rev 470693, soapybladerf/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-05-25 17:11:07 UTC (rev 470694)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=soapybladerf
+pkgver=0.4.0
+_pkgname=SoapyBladeRF
+_gitver=soapy-bladerf-$pkgver
+pkgrel=1
+pkgdesc='Soapy SDR plugin the BladeRF'
+arch=('x86_64')
+url='https://github.com/pothosware/SoapyBladeRF'
+license=('GPL3')
+depends=('soapysdr' 'bladerf')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha512sums=('69347847e25239c8686506cc7101dd9263b57fa3d3b5f518c915d9a9e0cb7e3a5627ee87ad7afb3022751aa212aa3698d8dbb16b6cddcc597292c7d2f5f806d4')
+
+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