summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 048e0cb57260893318961009387d21ce2cec66e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: "strahe"

pkgname=binance
pkgver=0.1.0
pkgrel=1
pkgdesc="The Binance Desktop Application"
arch=('x86_64')
url="https://www.binance.com/en/download"
license=('custom')
depends=()
optdepends=()
source=("https://ftp.binance.com/electron-desktop/linux/production/${pkgname}-amd64-linux.deb")
noextract=("${pkgname}-amd64-linux.deb")
sha256sums=("SKIP")

package() {
    bsdtar -O -xf ${pkgname}-amd64-linux.deb data.tar.xz | bsdtar -C "$pkgdir" -xJf -
    ln -sf $pkgdir/opt/Binance/binance $pkgdir/usr/bin/binance
    # Permission fix
    find "${pkgdir}" -type d -exec chmod 755 {} +
}