summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnselmo L. S. Melo2016-07-03 11:03:29 -0300
committerAnselmo L. S. Melo2016-07-03 11:04:24 -0300
commit6a305eb766605740cfd746091020038e20e28279 (patch)
tree2df70f91b5492707ef8444b7939b0edf5090744e /PKGBUILD
parent57f8519b0a9918eb1d5026364e11d5b21bf273b8 (diff)
downloadaur-6a305eb766605740cfd746091020038e20e28279.tar.gz
Update to v2.9.7b and runtimr fixes
Update to v2.9.7b. Use the qgroundcontrol-start.sh script to properly set the runtime environment.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 54dd7819497b..5e4b694f3988 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Anselmo L. S. Melo <anselmo.melo@intel.com>
pkgname=qgroundcontrol
-pkgver=2.9.6
+pkgver=2.9.7b
pkgrel=1
pkgdesc="Micro air vehicle ground control station."
arch=('any')
@@ -12,18 +12,13 @@ depends=(\
'qt5-svg' 'qt5-graphicaleffects' 'qt5-webkit' 'phonon-qt4' 'qt5-serialport'\
'qt5-quickcontrols')
-source=('https://github.com/mavlink/qgroundcontrol/releases/download/v2.9.6/qgroundcontrol.tar.bz2')
-md5sums=('1914137f3206218ce39bd0e208d2b674')
+source=('https://github.com/mavlink/qgroundcontrol/releases/download/v2.9.7b/qgroundcontrol.tar.bz2')
+md5sums=('64cad9e9597e2896602c6a1480ff9829')
package() {
mkdir -p "${pkgdir}/opt" "${pkgdir}/usr/bin"
cp -R "$srcdir/${pkgname}" "${pkgdir}/opt/qgroundcontrol"
- cat <<EndOfFile > "${pkgdir}/usr/bin/qgroundcontrol"
-#!/bin/bash
-cd /opt/qgroundcontrol/
-exec ./qgroundcontrol $*
-EndOfFile
- chmod +x "${pkgdir}/usr/bin/qgroundcontrol"
+ ln -s "${pkgdir}/opt/qgroundcontrol/qgroundcontrol-start.sh" "${pkgdir}/usr/bin/qgroundcontrol"
}
# vim:set ts=2 sw=2 et: