[arch-commits] Commit in soapysdr/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Apr 5 19:45:43 UTC 2020
Date: Sunday, April 5, 2020 @ 19:45:43
Author: ffy00
Revision: 611932
upgpkg: soapysdr 0.7.2-1
Modified:
soapysdr/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-05 19:45:21 UTC (rev 611931)
+++ PKGBUILD 2020-04-05 19:45:43 UTC (rev 611932)
@@ -2,15 +2,15 @@
pkgname=soapysdr
_pkgname=SoapySDR
-pkgver=0.7.1
+pkgver=0.7.2
_gitver=soapy-sdr-$pkgver
-pkgrel=5
+pkgrel=1
pkgdesc='Vendor and platform neutral SDR support library'
arch=('x86_64')
url='https://github.com/pothosware/SoapySDR'
license=('Boost')
depends=('python')
-makedepends=('cmake' 'swig' 'doxygen')
+makedepends=('cmake' 'swig' 'doxygen' 'graphviz')
optdepends=('soapyairspy: Airspy backend'
'soapyaudio: Audio devices backend'
'soapybladerf: BladeRF backend'
@@ -20,16 +20,9 @@
'soapyremote: SoapySDR remote support'
'soapyrtlsdr: rtl-sdr backend'
'soapyuhd: UHD backend')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz"
- 'python-3.8.patch')
-sha512sums=('9b2c4251d6362faecf770df021b74e3b387b99699ae4f7d3f145801e2acc901a3803f7b4d2cd50267013f1add6658703dfa5db6db28b8a645f1f8230117123cd'
- '5815af9e2da0e06f8ade6305f12701beb73c906508d087cb24c9c88e0c53fb9d5d03876c475b33a483e2224d4ad8a96a6cc949786dbd5e759b1e6622b9f18d40')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
+sha512sums=('2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371')
-prepare() {
- cd $_pkgname-$_gitver
- patch -Np1 -i ../python-3.8.patch
-}
-
build() {
mkdir -p $_pkgname-$_gitver/build
cd $_pkgname-$_gitver/build
@@ -46,4 +39,7 @@
cd $_pkgname-$_gitver/build
make DESTDIR="$pkgdir" install
+
+ install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+ cp -r -a --no-preserve=ownership docs/html "$pkgdir"/usr/share/doc/$pkgname
}
More information about the arch-commits
mailing list