[arch-commits] Commit in soapyuhd/repos (2 files)
Kyle Keen
kkeen at archlinux.org
Thu Dec 31 07:02:17 UTC 2020
Date: Thursday, December 31, 2020 @ 07:02:16
Author: kkeen
Revision: 800350
archrelease: copy trunk to community-staging-x86_64
Added:
soapyuhd/repos/community-staging-x86_64/
soapyuhd/repos/community-staging-x86_64/PKGBUILD
(from rev 800349, soapyuhd/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: soapyuhd/repos/community-staging-x86_64/PKGBUILD (from rev 800349, soapyuhd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-12-31 07:02:16 UTC (rev 800350)
@@ -0,0 +1,32 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=soapyuhd
+_pkgname=SoapyUHD
+pkgver=0.4.1
+_gitver=soapy-uhd-$pkgver
+pkgrel=2
+pkgdesc='Soapy SDR plugin for UHD supported SDR devices'
+arch=('x86_64')
+url='https://github.com/pothosware/SoapyUHD'
+license=('GPL3')
+depends=('boost' 'libuhd' 'soapysdr')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha512sums=('7a78ac386d92e4b36b36710f5943623ec8742cb770df69ac0c9bbd26827567277cb3309e3ad6eb0148b1b76083f16fdd188619700d38dcc5eab362b6db65340f')
+
+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