Package Details: binance 1.47.0-1

Git Clone URL: https://aur.archlinux.org/binance.git (read-only, click to copy)
Package Base: binance
Description: The Binance desktop application
Upstream URL: https://www.binance.com/en/download
Keywords: binance crypto electron
Licenses: unknown
Submitter: strahe
Maintainer: strahe (metaanon, tyjak)
Last Packager: metaanon
Votes: 35
Popularity: 0.48
First Submitted: 2020-09-10 08:20 (UTC)
Last Updated: 2023-09-25 15:44 (UTC)

Pinned Comments

metaanon commented on 2021-05-13 07:29 (UTC) (edited on 2021-05-13 08:08 (UTC) by metaanon)

Binance don't version their binaries. They simply replace the binance-amd64-linux.deb with a newer version. This means you will correctly receive a validity check error as the deb file no longer matches with the SHA sum.

Please confirm the latest Binance version and then mark this package as out of date.

Unless Binance change their release strategy or someone can come up with a clever solution, it is what it is.

Latest Comments

1 2 3 4 5 6 Next › Last »

xiota commented on 2023-11-22 18:47 (UTC) (edited on 2023-11-22 18:48 (UTC) by xiota)

Binance has versioned binaries at (https://github.com/binance/desktop/releases). (Someone else already mentioned Oct 2021.) The checksums match the text files at (https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux-deb-sha256.txt). So check() function can be removed.

If desired, can use a prepare() function to notify users whether a new version is available:

prepare() {
    binancechecksums=$(curl -Ssf "https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux-deb-sha256.txt")
    if [[ "${sha256sums[0]}" != "$binancechecksums" ]] ; then
        echo "New version of binance is available:"
        echo "   https://github.com/binance/desktop/releases"
    fi
}

kml93 commented on 2022-12-20 12:09 (UTC) (edited on 2022-12-20 12:11 (UTC) by kml93)

New PKGBUILD for Binance v1.42.0 It's the same, but just sha256sums change

# Maintainer: metaanon [at] mailbox dotorg
# Maintainer: strahe
# Maintainer: tyjak

pkgname=binance
pkgver=1.42.0
pkgrel=1
pkgdesc="The Binance desktop application"
arch=('x86_64')
url="https://www.binance.com/en/download"
license=('unknown')
checkdepends=('curl' 'coreutils')
source=('https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux.deb')
source=("${pkgname}-${pkgver}.deb::https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux.deb")
sha256sums=('883c0a8faa9cdda9fc302747e3cb90d1e9e7833b1d280b1ba6fab6dd64dc5092')

check() {
    cd "$srcdir"
    binancechecksums=$(curl https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux-deb-sha256.txt)
    echo "Checksum verification..."
    echo "1 Binance :" $binancechecksums
    echo "2 PKGBUILD:" $sha256sums
    echo "3 Deb File:" $(sha256sum ${pkgname}-${pkgver}.deb)
    echo "4 Compare :" $(sha256sum ${pkgname}-${pkgver}.deb | awk '{print $1}') $binancechecksums 
    [ "$sha256sums" == "$binancechecksums" ] \
        && echo -e "binance checksum file and PKGBUILD declared checksum: \e[1;32m\033[1mOK\033[0m\e[0m" \
        || (echo -e "binance checksum file and PKGBUILD declared checksum: \e[1;31m\033[1mKO\033[0m" && exit 1)
    [ "$(sha256sum ${pkgname}-${pkgver}.deb | awk '{print $1}')" == "$binancechecksums" ] \
        && echo -e "deb checksum and binance file checksum: \e[1;32m\033[1mOK\033[0m\e[0m" \
        || (echo -e "deb checksum and binance file checksum: \e[1;31m\033[1mKO\033[0m\e[0m" && exit 1)
}

package() {
    bsdtar -xv -C "${pkgdir}" -f "${srcdir}/data.tar.xz"
    mkdir "${pkgdir}/usr/bin"
    ln -s /opt/Binance/binance "${pkgdir}/usr/bin/binance"
}

agostini_willian commented on 2022-05-11 00:19 (UTC)

Related an issue https://github.com/binance/desktop/issues/28

metaanon commented on 2021-10-24 10:17 (UTC)

@neoney, thanks for bringing that to my attention! The releases seem a bit few and far between, there was 7 or 8 releases between the two they have on GitHub. I'll keep an eye on their github and see how it goes.

neoney commented on 2021-10-22 20:42 (UTC) (edited on 2021-10-23 22:24 (UTC) by neoney)

@metaanon I'm pretty sure they've started to release the versions on GitHub https://github.com/binance/desktop/releases

I guess we could change the PKGBUILD to have the URLs as https://github.com/binance/desktop/releases/download/v${pkgver}/binance-${pkgver}-amd64-linux.deb

That should solve the validity check error.

veganvelociraptr commented on 2021-09-19 02:22 (UTC)

@metaanon: Thanks, that explains it. I don't remember exactly when it occured when binance-bin was newer than this package, I guess I was just impatient that one time. :-)

metaanon commented on 2021-09-18 14:47 (UTC)

@veganvelociraptr

At that start of the year there were three binance packages on the aur. The aur mod team merged them all into this package.

Not sure why jkcdarunday felt the need for another package.

And I'm not sure what you mean about the updates? If you check the change log I've updated this package with every version Binance has released since I took over in March.

veganvelociraptr commented on 2021-09-18 13:58 (UTC)

How is this different from the binance-bin package? Other than that this package is now updated and the other one isn't. Last month it was the other way around...

AnDee commented on 2021-08-13 21:25 (UTC)

sha256sums=($(curl -sL https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux-deb-sha256.txt))

check() block should be removed

mene311 commented on 2021-05-28 02:57 (UTC)

Does anyone else experience that the keyboard shortcuts for quick buy and quick sell (F1 and F2) suddenly stop working?