[arch-commits] Commit in soapyuhd/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jan 15 08:27:32 UTC 2019
Date: Tuesday, January 15, 2019 @ 08:27:32
Author: felixonmars
Revision: 423196
archrelease: copy trunk to community-staging-x86_64
Added:
soapyuhd/repos/community-staging-x86_64/
soapyuhd/repos/community-staging-x86_64/PKGBUILD
(from rev 423195, soapyuhd/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: soapyuhd/repos/community-staging-x86_64/PKGBUILD (from rev 423195, soapyuhd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-01-15 08:27:32 UTC (rev 423196)
@@ -0,0 +1,32 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=soapyuhd
+_pkgname=SoapyUHD
+pkgver=0.3.4
+_gitver=soapy-uhd-$pkgver
+pkgrel=4
+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=('2eda4d0ed65d86e915ad24c5221c41716ad838ea444d92ade5eb19959bc6992132dc208ceafe994cd14e4c4a429a21341c7c5d67d354999b85e96f388cb3aa4e')
+
+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