summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7df857e1a561fbd2000546e177cc9d43e37e7083 (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
# Maintainer: Vadim Yanitskiy <axilirator@gmail.com>

pkgname=libuhd-umtrx
pkgver=1.0.19
pkgrel=1
pkgdesc="Fairwaves UmTRX module for libuhd"
arch=('x86_64')
url="https://github.com/fairwaves/UHD-Fairwaves"
license=('unknown')
depends=('libuhd' 'boost-libs')
makedepends=('cmake' 'boost')
source=("git+https://github.com/fairwaves/UHD-Fairwaves#tag=${pkgver}")
sha1sums=('SKIP')
_gitname=UHD-Fairwaves

build() {
  cd "$_gitname/host"
  mkdir -p build && cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ../
  make
}

package() {
  cd "$_gitname"
  cd build
  make DESTDIR=${pkgdir} install
}

# vim:set ts=2 sw=2 et: