blob: 36ae51470eabeac277fc298a2f0a0bac83e2b0ac (
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
|
# Maintainer: Jonathan Hudson <jh+mwptools@daria.co.uk>
_pkgname=blackbox-tools
pkgname=blackbox-tools-git
pkgver=r96.6350f77
pkgrel=1
pkgdesc='tools for examining blackbox logs'
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64' 'pentium4')
url='https://github.com/cleanflight/blackbox-tools.git'
license=('GPL3')
makedepends=('git')
depends=('cairo')
provides=("$_pkgname")
conflicts=("$_pkgname" "blackbox-tools-inav")
source=("$_pkgname::git+$url")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname
make
}
package() {
# executable
cd $_pkgname
install -Dm755 obj/blackbox_decode "$pkgdir/usr/bin/blackbox_decode"
install -Dm755 obj/blackbox_render "$pkgdir/usr/bin/blackbox_render"
install -Dm755 obj/encoder_testbed "$pkgdir/usr/bin/encoder_testbed"
}
|