summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkinoKaede2020-11-26 23:49:40 +0800
committerAkinoKaede2020-11-26 23:49:40 +0800
commitc39f6e520c359df87f500902a68fc1bfa2d0f25b (patch)
tree71f238199f69c37ec9f870080e119aa76ef887f9
parent75ddbbd3c42cbd6b1c5bd0d7d85495d0dafc4e3e (diff)
downloadaur-c39f6e520c359df87f500902a68fc1bfa2d0f25b.tar.gz
provides and conflicts
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8ace51cb04ea..96ce1c2895ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"