blob: 02335e405e87135aaef2a6777ce30a7c4642f251 (
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: Tom Swartz <tom@tswartz.net>
pkgname=dump1090-tomswartz-git
_gitname=dump1090
pkgver=0.r402.b34d8e0
pkgrel=1
pkgdesc="Dump1090 mode S decoder for RTL-SDR devices. Git based tomswartz07 forked version"
arch=('i686' 'x86_64')
url="https://github.com/tomswartz07/dump1090"
license=('BSD')
install=dump1090.install
depends=('rtl-sdr')
provides=('dump1090')
conflicts=('dump1090-git' 'dump1090-fa-git' 'dump1090-mutability-git')
makedepends=('git')
backup=('usr/share/dump1090/config.js')
source=('git+https://github.com/tomswartz07/dump1090.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_gitname"
make PREFIX=/usr/
}
package() {
install -Dm755 "$srcdir/$_gitname/dump1090" "$pkgdir/usr/bin/dump1090"
install -Dm755 "$srcdir/$_gitname/view1090" "$pkgdir/usr/bin/view1090"
install -d "$pkgdir/usr/share"
cp -r "$srcdir/$_gitname/public_html/" "$pkgdir/usr/share/$_gitname/"
}
|