makedeb


gh 2.20.0-1


The GitHub CLI

Click here to go back to the commit logs for gh.

Commit:


Hash: 1ac9b77ca65fdd73d89d6346dd4f2197d27ff3a3

Message: Updated conflicts

Diff


diff --git a/.SRCINFO b/.SRCINFO
index e3b9474..2e3504e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
 pkgbase = gh
 	pkgdesc = The GitHub CLI
 	pkgver = 2.5.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/cli/cli
 	arch = any
 	license = MIT
@@ -11,6 +11,8 @@ pkgbase = gh
 	makedepends = git
 	depends = libc6-dev
 	optdepends = git: To interact with repositories
+	conflicts = cli-git
+	conflicts = cli-bin
 	source = git+https://github.com/cli/cli.git#tag=v2.5.0
 	sha256sums = SKIP
 
diff --git a/PKGBUILD b/PKGBUILD
index ad28d8d..270e457 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
 pkgname="gh"
 _gitname="cli"
 pkgver="2.5.0"
-pkgrel="1"
+pkgrel="2"
 pkgdesc="The GitHub CLI"
 arch=("any")
 url="https://github.com/cli/cli"
@@ -18,6 +18,7 @@ makedepends=("golang-go" "git")
 optdepends=("git: To interact with repositories")
 source=("git+${url}.git#tag=v${pkgver}")
 sha256sums=('SKIP')
+conflicts=("${_gitname}-git" "${_gitname}-bin")
 
 prepare() {
     cd "${_gitname}"