summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Alex2019-02-27 12:22:36 +1100
committerBen Alex2019-02-27 12:22:36 +1100
commit77af05690a2eb1d6d263ce24fc3430cf676d8765 (patch)
treee5abba68596cecbe8c85bd47a5c8821314a6f84b
parentff5d6c9460257b4943fb21c3ce498f8eca850580 (diff)
downloadaur-77af05690a2eb1d6d263ce24fc3430cf676d8765.tar.gz
Delete package build desktop files
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2ca50f36845..f3cac63a7c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ib-tws
pkgver=974.4m
-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 $HOME/.local/share/applications/Trader\ Workstation\ ${majorVer}.desktop
+ rm -rf $HOME/.install4j $HOME/.i4j_jres $HOME/Jts/${majorVer} $HOME/Desktop/Trader\ Workstation*.desktop $HOME/.local/share/applications/Trader\ Workstation*.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 $HOME/.local/share/applications/Trader\ Workstation\ ${majorVer}.desktop
+ rm -rf $HOME/.install4j $HOME/.i4j_jres $HOME/Jts/${majorVer} $HOME/Desktop/Trader\ Workstation*.desktop $HOME/.local/share/applications/Trader\ Workstation*.desktop
cd ${srcdir}
# Thanks to http://finance.groups.yahoo.com/group/TWSAPI/files/RPM%20spec%20file/