Is there any reason why the snap package is being used for packaging? The chrome-sandbox
binary is only provided by the .deb
package, and most of the /usr
symlink stuff would also not be needed, as the .deb
package has the right .desktop
and .png
files in place. I would suggest using the .deb
package (which can just be extracted using bsdtar
).
Search Criteria
Package Details: tradingview 2.9.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/tradingview.git (read-only, click to copy) |
---|---|
Package Base: | tradingview |
Description: | A charting platform for traders and investors |
Upstream URL: | https://www.tradingview.com/desktop/ |
Keywords: | binary charting electron finance stocks trading |
Licenses: | LicenseRef-TradingView |
Submitter: | inetol |
Maintainer: | inetol |
Last Packager: | inetol |
Votes: | 32 |
Popularity: | 1.61 |
First Submitted: | 2022-11-18 20:45 (UTC) |
Last Updated: | 2024-12-14 12:52 (UTC) |
Dependencies (7)
- electron30 (electron30-binAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- libsecret
- links (links-g-directfbAUR) (make)
- libappindicator-gtk3 (optional) – Systray indicator support
Required by (0)
Sources (2)
mforthewin commented on 2024-07-04 11:49 (UTC)
inetol commented on 2023-12-03 12:39 (UTC) (edited on 2023-12-03 12:47 (UTC) by inetol)
@m4jq It should be fixed in version 2.7.1-5, thanks for reporting the issue.
m4jq commented on 2023-12-03 09:40 (UTC)
no app icon in latest build
inetol commented on 2023-09-10 19:00 (UTC)
Hi @frored, already updated to 2.6.0.
frored commented on 2023-09-10 13:33 (UTC) (edited on 2023-09-10 13:42 (UTC) by frored)
Hi, please update to version 2.6.0.
PKGBUILD
# Maintainer: Ivan Gabaldon <aur[at]inetol.net>
# Contributor: sukanka <su975853527 at gmail.com>
pkgname=tradingview
pkgver=2.6.0
pkgrel=1
pkgdesc='Experience extra power, extra speed and extra flexibility, all with the same UX you know and love'
arch=('x86_64')
url='https://www.tradingview.com/desktop/'
license=('custom')
makedepends=('squashfs-tools')
source=("$pkgname-$pkgver.snap::https://api.snapcraft.io/api/v1/snaps/download/nJdITJ6ZJxdvfu8Ch7n5kH5P99ClzBYV_43.snap"
"$pkgname.desktop")
b2sums=('0ba501039789809687d4c54da1540e26b1ada557207e4f5d2650556959e56d34fbcc581a6b2ef9366c907b1d1b199949a7560b650900ef4a7e51f5f9e7cbbde8'
'25d9a755a7af64a8ea212dfacb0611d2b928e9e1b293fe015329aff0470dd46b79acabac28c102a5af4d2f663d9324153c56c8803d605183c36bfbc3a8c6bb6d')
prepare() {
mkdir -p "$pkgname-$pkgver"
unsquashfs -q -n -f -d "$pkgname-$pkgver/" $pkgname-$pkgver.snap
mv "$pkgname-$pkgver/meta/gui/icon.png" "$srcdir"
rm -r "$pkgname-$pkgver/"{data-dir/,gnome-platform/,lib/,meta/,scripts/,usr/}
}
package() {
install -d "$pkgdir/opt/$pkgname"
cp -r "$srcdir/$pkgname-$pkgver/"* "$pkgdir/opt/$pkgname"
install -d "$pkgdir/usr/bin"
ln -s "/opt/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$srcdir/icon.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}
.SRCINFO
pkgbase = tradingview
pkgdesc = Experience extra power, extra speed and extra flexibility, all with the same UX you know and love
pkgver = 2.6.0
pkgrel = 1
url = https://www.tradingview.com/desktop/
arch = x86_64
license = custom
makedepends = squashfs-tools
source = tradingview-2.6.0.snap::https://api.snapcraft.io/api/v1/snaps/download/nJdITJ6ZJxdvfu8Ch7n5kH5P99ClzBYV_43.snap
source = tradingview.desktop
b2sums = 0ba501039789809687d4c54da1540e26b1ada557207e4f5d2650556959e56d34fbcc581a6b2ef9366c907b1d1b199949a7560b650900ef4a7e51f5f9e7cbbde8
b2sums = 25d9a755a7af64a8ea212dfacb0611d2b928e9e1b293fe015329aff0470dd46b79acabac28c102a5af4d2f663d9324153c56c8803d605183c36bfbc3a8c6bb6d
pkgname = tradingview
Pinned Comments
inetol commented on 2024-12-31 14:08 (UTC) (edited on 2024-12-31 14:12 (UTC) by inetol)
@lpc123 I have no relationship with TradingView and I don't maintain the official packages either from Snap or Debian, so any issues in the official packages should be reported to TradingView itself and not on the AUR. Likewise, issues related to this same package that I maintain unofficially can be discussed here.