blob: 208f9dd83e6f7e8a2c1f8fca56b109926f022f07 (
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: Pieter Robyns <pieter.robyns@uhasselt.be>
# Contributors: remspoor
# Upstream URL: https://github.com/rpp0/gr-lora
# Based on Yuval Adam <yuval at y3xz dot com>'s gr-gsm PKGBUILD
pkgname=gr-lora-git
pkgver=0.6.2.3
pkgrel=1
pkgdesc="GNURadio blocks for receiving LoRa modulated radio messages using SDR"
arch=('any')
url="https://github.com/rpp0/gr-lora"
license=(unknown)
depends=('gnuradio' 'libosmocore' 'boost' 'swig' 'liquid-dsp-git' 'python2-scipy' 'python2-numpy')
makedepends=('cmake')
provides=('gr-lora')
source=('git+https://github.com/rpp0/gr-lora')
sha1sums=('SKIP')
_gitname=gr-lora
pkgver() {
cd $_gitname
echo $(git describe --always | sed 's/-/./g' | sed 's/^v//g')
}
build() {
cd $_gitname
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd $_gitname
cd build
make DESTDIR=${pkgdir} install
}
|