blob: 07bf01ecb964c22edfcd6ecfe5c395b91f22b9b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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 -
mkdir $pkgdir/usr/bin
ln -sf $pkgdir/opt/Binance/binance $pkgdir/usr/bin/binance
# Permission fix
find "${pkgdir}" -type d -exec chmod 755 {} +
}
|