blob: 7be9755a633bd2f016a50123ee0759cc05680087 (
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
|
# Maintainer: Patrick josé Pereira <gmail.com@patrickelectric>
pkgname=mavlink-git
pkgver=1.0.12.r164.g5a18bf91
pkgrel=1
pkgdesc="MAVLink - Micro Air Vehicle Message Marshalling Library."
arch=('any')
url="https://github.com/mavlink/mavlink"
license=('GPLV3')
makedepends=('git' 'cmake' 'python2')
source=('git://github.com/mavlink/mavlink.git')
md5sums=(SKIP)
provides=('mavlink')
conflicts=('mavlink')
pkgver() {
cd "mavlink"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "mavlink"
git submodule update --init --recursive
mkdir "build" || true
cd "build"
cmake ..
make
}
package(){
cd "mavlink/build"
make DESTDIR="$pkgdir" install
}
|