summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselmo L. S. Melo2016-05-09 11:33:49 -0300
committerAnselmo L. S. Melo2016-05-13 11:10:42 -0300
commit57f8519b0a9918eb1d5026364e11d5b21bf273b8 (patch)
tree238e5d9996af396ef527e4ffabaea40a387c87f9
downloadaur-57f8519b0a9918eb1d5026364e11d5b21bf273b8.tar.gz
Initial PKGBUILD for QGroundControl releases
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD29
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..681a106d511
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Fri May 13 13:37:03 UTC 2016
+pkgbase = qgroundcontrol
+ pkgdesc = Micro air vehicle ground control station.
+ pkgver = 2.9.6
+ pkgrel = 1
+ url = http://qgroundcontrol.org/
+ arch = any
+ license = GPL3
+ depends = espeak
+ depends = qt5-svg
+ depends = qt5-graphicaleffects
+ depends = qt5-webkit
+ depends = phonon-qt4
+ depends = qt5-serialport
+ depends = qt5-quickcontrols
+ conflicts = qgroundcontrol-git
+ source = https://github.com/mavlink/qgroundcontrol/releases/download/v2.9.6/qgroundcontrol.tar.bz2
+ md5sums = 1914137f3206218ce39bd0e208d2b674
+
+pkgname = qgroundcontrol
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..9d98872d07c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg
+/src
+/qgroundcontrol
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..54dd7819497
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Anselmo L. S. Melo <anselmo.melo@intel.com>
+pkgname=qgroundcontrol
+pkgver=2.9.6
+pkgrel=1
+pkgdesc="Micro air vehicle ground control station."
+arch=('any')
+url="http://qgroundcontrol.org/"
+license=('GPL3')
+conflicts=('qgroundcontrol-git')
+depends=(\
+ 'espeak' # optional but you have to decide if you want it at built-time\
+ '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')
+
+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"
+}
+
+# vim:set ts=2 sw=2 et: