blob: 81fb9b7252e86c5e76375f4b9aeeb8b9d9a2440c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: FFY00 <filipe.lains@gmail.com>
pkgname=soapyuhd-git
pkgver=r62.55da7da
pkgrel=1
pkgdesc="Soapy SDR plugin for UHD supported SDR devices"
arch=(any)
url="https://github.com/pothosware/SoapyUHD"
license=('GPL3')
depends=('boost' 'libuhd' 'soapysdr')
makedepends=('git' 'cmake')
provides=('soapyuhd')
conflicts=('soapyuhd')
source=('git+https://github.com/pothosware/SoapyUHD')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/SoapyUHD"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
mkdir -p "$srcdir/SoapyUHD/build"
cd "$srcdir/SoapyUHD/build"
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/SoapyUHD/build"
make DESTDIR="$pkgdir" install
}
|