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

Filipe Laíns ffy00 at archlinux.org
Thu Apr 30 16:16:29 UTC 2020


    Date: Thursday, April 30, 2020 @ 16:16:28
  Author: ffy00
Revision: 623335

upgpkg: srsgui 2.0-1

Added:
  srsgui/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-30 16:16:28 UTC (rev 623335)
@@ -0,0 +1,34 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=srsgui
+_pkgname=srsGUI
+pkgver=2.0
+_tag=release_${pkgver/./_}_qt5
+pkgrel=1
+pkgdesc='A graphics library for software radio'
+arch=('x86_64')
+url='https://github.com/srsLTE/srsGUI'
+license=('AGPL3')
+depends=('boost-libs' 'qt5-base' 'qwt')
+makedepends=('cmake' 'boost')
+source=("$_pkgname-$pkgver.tar.gz::$url/archive/$_tag.tar.gz")
+sha512sums=('9d766a80fc81b015f5c8dbed3fa97d417496a0e4db11bd23a66bae4c3a2d7e0206f2569af8884d01b40702416dab6add52cc0ef04f29b176aba99de00466a88d')
+
+build() {
+  mkdir $_pkgname-$_tag/build
+  cd $_pkgname-$_tag/build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DQWT_NAMES=qwt
+
+  make
+}
+
+package() {
+  cd $_pkgname-$_tag/build
+
+  make DESTDIR="$pkgdir" install
+}
+



More information about the arch-commits mailing list