summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa08b004f7ff042874269174766f1f1662c6b4f4 (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
# Maintainer: Mees Luten <mees [dot] luten [at] gmail [dot] com>
# This package is build from a non-release version, going to change soon.
pkgname=gr-hrpt
pkgver=0.1
pkgrel=2
pkgdesc="HRPT Blocks from gr-noaa and others ported to GNU Radio 3.8+"
arch=('x86_64')
url="https://gitlab.altillimity.com/altillimity/gr-hrpt"
license=('GPL3')
depends=(gnuradio liborcus)
makedepends=(boost boost-libs cmake)
source=("https://gitlab.altillimity.com/altillimity/gr-hrpt/-/archive/master/gr-hrpt-master.tar.gz")
sha256sums=('c1e730d3717c73037b8ceee3fce10320cc06d0da8225a16591caa543bd9abf6f')

prepare() {
	rm -f -r $pkgname
	mv gr-hrpt-master $pkgname
	mkdir -p "$pkgname"/build
}

build() {
	cd "$pkgname"/build
	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
	make
}

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