summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryanLiang2024-03-22 12:07:37 +0800
committerBryanLiang2024-03-22 12:07:37 +0800
commitbec2e83bc9e8a22ab7687f3af2a025741bb0897f (patch)
tree4b99e79d457406bb4c2a9c6b21f8e91f63144551
parent173bef431d912cac855b70f755c623e19933c9e3 (diff)
downloadaur-bec2e83bc9e8a22ab7687f3af2a025741bb0897f.tar.gz
Add conflict package
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b19252655d51..0f46c56ec200 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
pkgbase = metacubexd-bin
pkgdesc = Clash.Meta Dashboard, The Official One, XD (Precompiled version)
pkgver = 1.136.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/MetaCubeX/metacubexd
arch = any
license = MIT
optdepends = clash: A rule-based tunnel in Go
optdepends = sing-box: The universal proxy platform
optdepends = clash-meta: Another Clash Kernel by MetaCubeX
+ provides = metacubexd
+ conflicts = metacubexd
source = metacubexd-bin-1.136.0.tgz::https://github.com/MetaCubeX/metacubexd/releases/download/v1.136.0/compressed-dist.tgz
sha256sums = cf61018956fdeccd15650b571c497a0bff238ac8235b43ffd476629b63a2a981
diff --git a/PKGBUILD b/PKGBUILD
index ede8fed723cb..3c5a5c8e1752 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=metacubexd-bin
_pkgname=metacubexd
pkgver=1.136.0
-pkgrel=1
+pkgrel=2
pkgdesc='Clash.Meta Dashboard, The Official One, XD (Precompiled version)'
arch=('any')
url="https://github.com/MetaCubeX/metacubexd"
@@ -12,6 +12,8 @@ license=('MIT')
optdepends=('clash: A rule-based tunnel in Go'
'sing-box: The universal proxy platform'
'clash-meta: Another Clash Kernel by MetaCubeX')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
source=("${pkgname}-${pkgver}.tgz::${url}/releases/download/v${pkgver}/compressed-dist.tgz")
sha256sums=('cf61018956fdeccd15650b571c497a0bff238ac8235b43ffd476629b63a2a981')