summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0d5c2e7c182d4a54ce425b1bf2077467733fe94 (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.58
_commit=f13ef0b
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
}