blob: e0ffbc2ef40a908c051888a8acb4981ca61e8584 (
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
|
pkgname=ardupilot-mission-planner
pkgver=1.3.82
epoch=2
pkgrel=1
pkgdesc="Full-featured ground station application for the ArduPilot open source autopilot project"
arch=('x86_64')
url="https://github.com/ArduPilot/MissionPlanner"
license=("GPL3")
depends=('mono')
source=(
"https://firmware.ardupilot.org/Tools/MissionPlanner/MissionPlanner-${pkgver}.zip"
${pkgname}.desktop
)
sha256sums=(
'e79e1f143c47328e23577cab3dd1a00d843a5de5be4d675520890640805dac24'
'e2b0bde2cf9dd598103c2d6babeeae82c72901cdff19b8db1fe579d176a6139f'
)
package() {
install -d "${pkgdir}/opt/${pkgname}"
cp -r ${srcdir}/* ${pkgdir}/opt/${pkgname} -R
# Mission Planner's .zip file ships without a Linux-compatible .desktop file,
# so I've made one in this AUR repo to make Mission Planner easier to launch
install -d "${pkgdir}/usr/share/applications"
install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
|