makedeb


mangadesk-git 1.197.9d79e16-3


Terminal client for MangaDex

Click here to go back to the commit logs for mangadesk-git.

Commit:


Hash: 7fb0b23f30782cc7df2e0571e722a7655c3edad8

Message: Updated conflicts

Diff


diff --git a/.SRCINFO b/.SRCINFO
index b1f7cc2..64153a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,12 +3,14 @@ generated-by = makedeb-makepkg
 pkgbase = mangadesk-git
 	pkgdesc = Terminal client for MangaDex
 	pkgver = 1.197.9d79e16
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/darylhjd/mangadesk
 	arch = x86_64
 	license = MIT
 	makedepends = golang-go
 	depends = libc6-dev
+	conflicts = mangadesk
+	conflicts = mangadesk-bin
 	source = git+https://github.com/darylhjd/mangadesk.git
 	sha512sums = SKIP
 
diff --git a/PKGBUILD b/PKGBUILD
index 73dbdb3..a3696fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 pkgname="mangadesk-git"
 _gitname="mangadesk"
 pkgver=1.197.9d79e16
-pkgrel=1
+pkgrel=2
 pkgdesc='Terminal client for MangaDex'
 arch=('x86_64')
 url="https://github.com/darylhjd/mangadesk"
@@ -15,9 +15,10 @@ depends=('libc6-dev')
 makedepends=('golang-go')
 source=("git+${url}.git")
 sha512sums=('SKIP')
+conflicts=("${_gitname}" "${_gitname}-bin")
 
 pkgver() {
-  cd "$_gitname"
+  cd "${_gitname}"
 
   printf "1.%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }