summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Alex2019-02-11 11:12:54 +1100
committerBen Alex2019-02-11 11:12:54 +1100
commit03bf0a82cc742362fdc853bec98847e254beb82c (patch)
tree7bcfad3682f99885a03fc0f7c9cec5376f67a027
parent66c81ad0e56f40b3b0db420b561be774ccded8d3 (diff)
downloadaur-03bf0a82cc742362fdc853bec98847e254beb82c.tar.gz
Remove desktop files from additional location
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 715acf288f5..f7eef0cd005 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ib-tws
pkgdesc = Electronic trading platform from discount brokerage firm Interactive Brokers
pkgver = 974.4l
- pkgrel = 1
+ pkgrel = 2
url = http://interactivebrokers.com/
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index d4f935c9a56..1af656ecc65 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ib-tws
pkgver=974.4l
-pkgrel=1
+pkgrel=2
pkgdesc='Electronic trading platform from discount brokerage firm Interactive Brokers'
arch=('any')
url="http://interactivebrokers.com/"
@@ -35,14 +35,14 @@ build() {
chmod +x tws-latest-standalone-linux-x64.sh
# Assumes no other Install4J packages are in use by user; if so, makepkg from dedicated user account
majorVer=$(echo "$pkgver" | sed "s/\([0-9]\+\)\..*/\1/")
- rm -rf $HOME/.install4j $HOME/.i4j_jres $HOME/Jts/${majorVer} $HOME/Desktop/Trader\ Workstation\ ${majorVer}.desktop
+ rm -rf $HOME/.install4j $HOME/.i4j_jres $HOME/Jts/${majorVer} $HOME/Desktop/Trader\ Workstation\ ${majorVer}.desktop $HOME/.local/share/applications/Trader\ Workstation\ ${majorVer}.desktop
./tws-latest-standalone-linux-x64.sh -q
BUNDLED_JRE_VER=$(ls -1 ${HOME}/.i4j_jres)
mv ${HOME}/.i4j_jres/${BUNDLED_JRE_VER} ${HOME}/.i4j_jres/jre
mv ${HOME}/.i4j_jres/jre ${srcdir}/jre
mv ${HOME}/Jts/${majorVer}/jars/*.jar ${srcdir}
- rm -rf $HOME/.install4j $HOME/.i4j_jres $HOME/Jts/${majorVer} $HOME/Desktop/Trader\ Workstation\ ${majorVer}.desktop
+ rm -rf $HOME/.install4j $HOME/.i4j_jres $HOME/Jts/${majorVer} $HOME/Desktop/Trader\ Workstation\ ${majorVer}.desktop $HOME/.local/share/applications/Trader\ Workstation\ ${majorVer}.desktop
cd ${srcdir}
# Thanks to http://finance.groups.yahoo.com/group/TWSAPI/files/RPM%20spec%20file/