summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Noyce Barnham2019-05-05 10:10:35 +0100
committerJoel Noyce Barnham2019-05-05 10:10:35 +0100
commitb1bd2349348a9ab1a6c9bf930f7f498d9c9c9025 (patch)
tree129c779b4ea640890824b82a25d717266dcd9ab0
parent3df3590cf5a0e134889de6d1f36d5a1da82e5030 (diff)
downloadaur-b1bd2349348a9ab1a6c9bf930f7f498d9c9c9025.tar.gz
Don't allow installation alongside docker-credential-pass
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 4 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 57138ecff610..c67235d3c5a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,6 +6,8 @@ pkgbase = docker-credential-pass-bin
arch = x86_64
license = MIT
depends = pass
+ provides = docker-credential-pass
+ conflicts = docker-credential-pass
source = docker-credential-helpers-0.6.2.tar.gz::https://github.com/docker/docker-credential-helpers/releases/download/v0.6.2/docker-credential-pass-v0.6.2-amd64.tar.gz
source = LICENSE::https://raw.githubusercontent.com/docker/docker-credential-helpers/v0.6.2/LICENSE
sha512sums = 299e604a910410b599cb4649ce08853348466cb4fd7c6870e41c6999f8fa2b6c7747d7b98cb687c66c7d66da0c07e3fb5c330a13d82d40d58a16160690ff4dc1
diff --git a/PKGBUILD b/PKGBUILD
index b7ae96e0b560..f5d4810a7f82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,8 @@ url="https://github.com/docker/docker-credential-helpers"
license=('MIT')
depends=('pass')
makedepends=()
+provides=("${pkgname%-bin}")
+conflicts=("${pkgname%-bin}")
source=("docker-credential-helpers-$pkgver.tar.gz::${url}/releases/download/v${pkgver}/docker-credential-pass-v${pkgver}-amd64.tar.gz"
"LICENSE::https://raw.githubusercontent.com/docker/docker-credential-helpers/v${pkgver}/LICENSE")
sha512sums=('299e604a910410b599cb4649ce08853348466cb4fd7c6870e41c6999f8fa2b6c7747d7b98cb687c66c7d66da0c07e3fb5c330a13d82d40d58a16160690ff4dc1'