summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ab3b16557335ef65ba96902624c9a38647e782d7 (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: Raimar Buehmann <raimar _at_ buehmann _dot_ de>

pkgname=ais-catcher
pkgver=0.59
_commit=c5354a3
pkgrel=1
pkgdesc='Receiver for Automatic Identifaction System of boats using an SDR device (RTL-SDR, AirSpy, HackRF, ...)'
arch=('i686' 'x86_64')
license=('GPL-3.0-or-later')
url="https://github.com/jvde-github/AIS-catcher"
depends=(
	zlib
	libsoxr
	libsamplerate
	zeromq
	openssl
)
makedepends=(cmake)
optdepends=(
	'airspy: Airspy backend'
	'hackrf: HackRF backend'
	'rtl-sdr: RTL-SDR backend'
	'bladerf: BladeRF backend'
)
source=("$pkgname::git+$url.git#commit=$_commit")
sha256sums=('SKIP')
build() {
	cd "$pkgname"
	cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
	cd build
	cmake --build .
}
package() {
	cd "$pkgname"
	DESTDIR="$pkgdir" cmake --install build
}