summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Keith Darunday2021-08-12 12:58:00 +0800
committerJan Keith Darunday2021-08-12 12:58:00 +0800
commit75dcef20c7c25c49064f03a462a0e47f341dea14 (patch)
tree14f03a5bfa6df3f18dfd2979c90b4fa655878f83
parentc0cb86a38d5ca4108579ddb63dd874c07996ba9d (diff)
downloadaur-75dcef20c7c25c49064f03a462a0e47f341dea14.tar.gz
Add conflicts/provides for the binance package to prevent issues with other existing/future binance packages
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD4
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 99f27f9555f5..bfba1f536332 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
pkgbase = binance-bin
- pkgdesc = Buy & sell Crypto in minutes, join the world’s largest crypto exchange
+ pkgdesc = Buy & sell Crypto in minutes, join the world's largest crypto exchange
pkgver = latest
- pkgrel = 1
+ pkgrel = 2
url = https://www.binance.com/en/download
arch = x86_64
license = MIT
- source = binance-bin-latest.deb::https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux.deb
+ provides = binance
+ conflicts = binance
+ source = binance-latest.deb::https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux.deb
source = checksum.txt::https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux-deb-sha256.txt
sha256sums = SKIP
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index cac049fd846f..824cd3b62e8c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,13 @@
pkgname=binance-bin
_pkgname=binance
pkgver=latest
-pkgrel=1
+pkgrel=2
pkgdesc="Buy & sell Crypto in minutes, join the world's largest crypto exchange"
arch=('x86_64')
url="https://www.binance.com/en/download"
license=('MIT')
+provides=('binance')
+conflicts=('binance')
source=(
"${_pkgname}-latest.deb::https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux.deb"
"checksum.txt::https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux-deb-sha256.txt"