add xray asset packages to the conflicts array

This commit is contained in:
ghesy 2023-02-05 22:10:35 +03:30
parent b83f3f1df3
commit e412cd45b9
No known key found for this signature in database
GPG key ID: 0DDFA36FF019B89A
2 changed files with 7 additions and 5 deletions

View file

@ -1,7 +1,7 @@
pkgbase = xray-bin
pkgdesc = The best v2ray-core, with XTLS support
pkgver = 1.7.3
pkgrel = 1
pkgrel = 2
url = https://github.com/XTLS/Xray-core
arch = aarch64
arch = i686
@ -17,10 +17,12 @@ pkgbase = xray-bin
arch = s390x
arch = mips
license = MPL2
depends = v2ray-domain-list-community
depends = v2ray-geoip
depends = v2ray-domain-list-community
provides = xray
conflicts = xray
conflicts = xray-geoip
conflicts = xray-domain-list-community
options = !strip
backup = etc/xray/config.json
source_aarch64 = xray-v1.7.3-aarch64.zip::https://github.com/XTLS/Xray-core/releases/download/v1.7.3/Xray-linux-arm64-v8a.zip

View file

@ -8,7 +8,7 @@
_name=xray
pkgname=${_name}-bin
pkgrel=1
pkgrel=2
_version=v1.7.3
pkgver=${_version//-/_}
pkgver=${pkgver#v}
@ -18,8 +18,8 @@ url='https://github.com/XTLS/Xray-core'
license=('MPL2')
provides=("${_name}")
conflicts=("${_name}")
depends=('v2ray-domain-list-community' 'v2ray-geoip')
conflicts=("${_name}" 'xray-geoip' 'xray-domain-list-community')
depends=('v2ray-geoip' 'v2ray-domain-list-community' )
options=('!strip') # don't modify prebuilt binaries
# source array template