provides and conflicts

This commit is contained in:
AkinoKaede 2020-11-26 23:49:40 +08:00
parent 75ddbbd3c4
commit c39f6e520c
No known key found for this signature in database
GPG key ID: C687746B27587C0D

View file

@ -11,6 +11,8 @@ url="https://github.com/XTLS/Xray-core"
license=('MPLv2')
depends=('glibc' 'v2ray-domain-list-community' 'v2ray-geoip')
backup=(etc/xray/config.json)
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/XTLS/Xray-core/releases/download/v$pkgver/Xray-linux-64.zip"
"LICENSE::https://raw.githubusercontent.com/XTLS/Xray-core/main/LICENSE"