summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a7e8624a6b3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Robinhuett <aur at tripp dot xyz>
+
+pkgname=kiss-gui
+arch=(x86_64)
+pkgver=2.0.9
+pkgrel=1
+_commit=d6ff322
+pkgdesc="The KISS GUI is the crossplatform configuration tool for the Flyduino flight control system like the KISSfc, KISScc and KISSfcV2F7"
+url="https://github.com/flyduino/kissfc-chrome-gui"
+
+source=("$url/releases/download/$pkgver/KISS-GUI_$pkgver-master_$_commit-linux64.zip"
+ "https://raw.githubusercontent.com/flyduino/kissfc-chrome-gui/master/images/icon_128.png"
+ "$pkgname.sh"
+ "$pkgname.desktop")
+sha512sums=('fa00afd475131619e22220e3a206896cfdf7d7b9c203fbce9bafad435d5505618441db1f7b07b98eff5b55250fa6b177d414be08529b8b4f695832d955d65a28'
+ '36af702cf64bc0606eaf01febd3ed7db47e327bfb68f10f23f65d36b9a9482038e22149711d5b1fbbeabc1a6fcef9de25e971aa7f67b475983fd9aa3c57ca22f'
+ '7aaaeb1688560a0874e69455ce25f273fa03aa5ad3a41116f4a71cde49ccfe334c05c955384e3624f5a7fca1300461eec41540cd05a7d61a3343dac09b576497'
+ '5a43483c365a1b1134bdd176be481a0400d3807b270cf0a31a575d5a7b0de167db6d1cd182ee9443cc0c86c77fbe14bb66bb1147c230f994aab36540687536ae')
+options=(!strip)
+
+package() {
+ cd KISS-GUI
+ install -d "$pkgdir/usr/share/$pkgname/"
+ cp -a * "$pkgdir/usr/share/$pkgname/"
+
+ install -D "$srcdir/icon_128.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+ install -D "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+
+ install -d "$pkgdir/usr/bin/"
+ install -Dm 755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+}
+