summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoel Brunnen2017-03-09 17:08:57 +0100
committerManoel Brunnen2017-03-09 17:08:57 +0100
commit4d31ab35ef532b8856c904b816bdb54c3e5c0d7f (patch)
tree1b6c2a7bf3512983e701fb1e8fe30ca195c520e7
parentb32b8d30c69a5262412afc2ec2d022f8a5472742 (diff)
downloadaur-4d31ab35ef532b8856c904b816bdb54c3e5c0d7f.tar.gz
fixed launcher
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
-rw-r--r--launcher.sh2
-rw-r--r--xctu.desktop2
4 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index efbfbd6c187..46c45bd647f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xctu
pkgdesc = Next Generation Configuration Platform for XBee/RF Solutions.
pkgver = 6.3.2
- pkgrel = 2
+ pkgrel = 3
url = http://www.digi.com/products/xbee-rf-solutions/xctu-software/xctu
arch = i686
arch = x86_64
@@ -9,10 +9,12 @@ pkgbase = xctu
depends = java-runtime-common
options = !strip
source = http://ftp1.digi.com/support/utilities/40002881_D.run
+ source = launcher.sh
source = xctu.desktop
source = fix.patch
md5sums = 47cfcde687bf56196de66476fe8bca27
- md5sums = 53dff8062eaad0249252f0bb93ad7404
+ md5sums = 9ebb584444f6e9417bb74c1f4c5792cd
+ md5sums = 8268deecea042c3d4d557d6a47f1f004
md5sums = 1e0ebe726f6d5304091d6e10d01de7be
pkgname = xctu
diff --git a/PKGBUILD b/PKGBUILD
index fb8824737a4..6db518e30d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=xctu
pkgver=6.3.2
-pkgrel=2
+pkgrel=3
pkgdesc="Next Generation Configuration Platform for XBee/RF Solutions."
arch=('i686' 'x86_64')
url="http://www.digi.com/products/xbee-rf-solutions/xctu-software/xctu"
@@ -18,10 +18,12 @@ elif [[ $CARCH == 'x86_64' ]]; then
md5sums=('47cfcde687bf56196de66476fe8bca27')
fi
source=("http://ftp1.digi.com/support/utilities/$_setup_file"
+ 'launcher.sh'
'xctu.desktop'
'fix.patch')
-md5sums+=('53dff8062eaad0249252f0bb93ad7404'
- '1e0ebe726f6d5304091d6e10d01de7be')
+md5sums+=('9ebb584444f6e9417bb74c1f4c5792cd'
+ '8268deecea042c3d4d557d6a47f1f004'
+ '1e0ebe726f6d5304091d6e10d01de7be')
noextract=()
prepare() {
@@ -41,7 +43,7 @@ package() {
install -Dm644 $srcdir/$pkgname/doc/License_Agreements.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
# Launcher
- install -Dm755 $srcdir/$pkgname/launcher $pkgdir/usr/bin/$pkgname
+ install -Dm755 $srcdir/launcher.sh $pkgdir/usr/bin/$pkgname
# Desktop file
install -Dm644 $srcdir/$pkgname/icon.xpm $pkgdir/usr/share/icons/hicolor/256x256/apps/xctu.xpm
diff --git a/launcher.sh b/launcher.sh
new file mode 100644
index 00000000000..7e55a89048d
--- /dev/null
+++ b/launcher.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+UBUNTU_MENUPROXY=0 GTK2_RC_FILES=$GTK2_RC_FILES:/opt/xctu/.gtkrc-eclipse /opt/xctu/app
diff --git a/xctu.desktop b/xctu.desktop
index cbbe7cf866f..2542864252b 100644
--- a/xctu.desktop
+++ b/xctu.desktop
@@ -4,6 +4,6 @@ Version=6.3.2.3
Name=XCTU
Comment=Configuration and Test Utiity
Icon=xctu.xpm
-Exec=env UBUNTU_MENUPROXY=0 GTK2_RC_FILES=$GTK2_RC_FILES:/opt/xctu/.gtkrc-eclipse /opt/xctu/app
+Exec=/usr/bin/xctu
Terminal=false
Path=/opt/xctu