makedeb
A new way of working with Protocol Buffers
Click here to go back to the commit logs for buf.
Hash: fb0ec90b9a333820466a6998d470e49ecf1d6827
Message: Updated conflicts
diff --git a/.SRCINFO b/.SRCINFO
index 5ae300f..b96b5c3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,11 +3,13 @@ generated-by = makedeb-makepkg
pkgbase = buf
pkgdesc = A new way of working with Protocol Buffers
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://buf.build
arch = any
license = Apache
makedepends = golang-go
+ conflicts = buf-git
+ conflicts = buf-bin
source = git+https://github.com/bufbuild/buf.git#tag=v1.0.0
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 0e58ba7..3a4c114 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname="buf"
_gitname="buf"
pkgver="1.0.0"
-pkgrel="1"
+pkgrel="2"
pkgdesc="A new way of working with Protocol Buffers"
arch=("any")
url="https://buf.build"
@@ -13,6 +13,7 @@ license=('Apache')
makedepends=('golang-go')
sha256sums=('SKIP')
source=("git+https://github.com/bufbuild/buf.git#tag=v${pkgver}")
+conflicts=("${_gitname}-git" "${_gitname}-bin")
build() {
cd ${_gitname}