Package Details: ib-tws 1:10.29.1d-1

Git Clone URL: https://aur.archlinux.org/ib-tws.git (read-only, click to copy)
Package Base: ib-tws
Description: Electronic trading platform from discount brokerage firm Interactive Brokers
Upstream URL: http://interactivebrokers.com/
Licenses: custom
Submitter: benalexau
Maintainer: benalexau
Last Packager: benalexau
Votes: 40
Popularity: 0.99
First Submitted: 2013-01-30 06:21 (UTC)
Last Updated: 2024-05-01 02:04 (UTC)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 19 Next › Last »

jose1711 commented on 2021-05-04 07:32 (UTC)

@benalexau

In order to fight the hash sum changes (often seen with package managers caching the old data), can you please make the following change?

--- PKGBUILD.orig   2021-05-04 09:30:30.913973088 +0200
+++ PKGBUILD    2021-05-04 09:29:08.783541113 +0200
@@ -20,7 +20,7 @@
    'ib-gw'
    'ib-gw.conf'
    'ib-gw.desktop'
-   'https://download2.interactivebrokers.com/installers/tws/latest-standalone/tws-latest-standalone-linux-x64.sh')
+   "tws-${pkgver}-standalone-linux-x64.sh"::'https://download2.interactivebrokers.com/installers/tws/latest-standalone/tws-latest-standalone-linux-x64.sh')
 md5sums=('c93bcc44678aef8b9d0ec6faecb27927'
          '428c553da90bb2ea650a7f96ae076937'
          '384f68e00a3010f7317cbfa0ffb9d719'
@@ -32,11 +32,11 @@

 build() {
   cd ${srcdir}
-  chmod +x tws-latest-standalone-linux-x64.sh
+  chmod +x tws-${pkgver}-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/tws $HOME/Desktop/Trader\ Workstation*.desktop $HOME/.local/share/applications/Trader\ Workstation*.desktop
-  ./tws-latest-standalone-linux-x64.sh -q
+  ./tws-${pkgver}-standalone-linux-x64.sh -q

   BUNDLED_JRE_VER=$(ls -1 ${HOME}/.i4j_jres)
   mv ${HOME}/.i4j_jres/${BUNDLED_JRE_VER} ${HOME}/.i4j_jres/jre

Thank you, jose

KerfuffleV2 commented on 2021-04-14 14:14 (UTC)

@benalexau The likely reason some people get the package integrity problem and you don't is because you're trying it right after you create the package so your hashes match the IB installer script. Later on, IB updates it and the hash no longer matches so people trying to install after that point get the issue.

benalexau commented on 2021-01-28 01:48 (UTC)

In case it helps for the future, the easiest way to build this package without using an AUR helper is:

git clone https://aur.archlinux.org/ib-tws.git
cd ib-tws
makepkg -rs

harappan commented on 2021-01-27 09:48 (UTC)

Doesn't work with yay -Syyu for some reason, but works for your command line codes.

benalexau commented on 2021-01-27 08:56 (UTC)

@agamemnon, can you explain what you mean? It works for me:

[bpa@bpanb ~]$packer-aur -G ib-tws
[bpa@bpanb ~]$cd ib-tws/
[bpa@bpanb ib-tws]$makepkg -rs
==> Making package: ib-tws 981.2p-1 (Wed 27 Jan 2021 19:54:09)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found LICENSE
  -> Found ib-tws
  -> Found ib-tws.conf
  -> Found ib-tws.desktop
  -> Found ib-gw
  -> Found ib-gw.conf
  -> Found ib-gw.desktop
  -> Downloading tws-latest-standalone-linux-x64.sh...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  145M  100  145M    0     0  9385k      0  0:00:15  0:00:15 --:--:--  9.8M
==> Validating source files with md5sums...
    LICENSE ... Passed
    ib-tws ... Passed
    ib-tws.conf ... Passed
    ib-tws.desktop ... Passed
    ib-gw ... Passed
    ib-gw.conf ... Passed
    ib-gw.desktop ... Passed
    tws-latest-standalone-linux-x64.sh ... Passed
==> Extracting sources...
==> Starting build()...
Unpacking JRE ...
Starting Installer ...
The installation directory has been set to /home/bpa/tws.
Extracting files ...
Finishing installation ...
Archive:  jts4launch-981.jar
PACK200
  inflating: trader/common/images/ibapp_icon_48x48.gif  
Archive:  jts4launch-981.jar
PACK200
  inflating: trader/common/images/quote_details_48x48.jpg  
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "ib-tws"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ib-tws 981.2p-1 (Wed 27 Jan 2021 19:55:04)

harappan commented on 2021-01-27 08:38 (UTC)

doesn't update, error veryfing

esemeniuc commented on 2020-12-16 03:28 (UTC)

Awesome, thank you @benalexau :)