blob: 01d5eb59c5bb59fa28171c5b2d333e6bad8d63b3 (
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
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=mavproxy-git
pkgver=r2659.241cf6e3
pkgrel=1
pkgdesc='MAVLink proxy and command line ground station.'
arch=('any')
url='http://ardupilot.github.io/MAVProxy/html/index.html'
license=('GPL3')
depends=(python python-pymavlink)
makedepends=(git python python-build python-installer python-wheel
python-setuptools)
provides=(mavproxy)
conflicts=(mavproxy)
source=('git+https://github.com/ArduPilot/MAVProxy.git')
sha256sums=('SKIP')
_pkgname='MAVProxy'
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgname}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|