makedeb


btop-bin 1.2.6-1


A monitor of system resourecs, bpytop ported to C++

Click here to go back to the commit logs for btop-bin.

Commit:


Hash: 09fd80d7d7fc432a5bc9d7f882ebf4c923148b82

Message: upgpkg: btop-bin 1.1.1-1 upstream release Add package relations & fix links

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 6d41fb9..6bf451d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,7 +4,7 @@ pkgbase = btop-bin
 	pkgdesc = A monitor of system resourecs, bpytop ported to C++
 	pkgver = 1.1.1
 	pkgrel = 1
-	url = https://github.com/aristocratos/btop-bin
+	url = https://github.com/aristocratos/btop
 	arch = x86_64
 	arch = aarch64
 	license = Apache
@@ -14,9 +14,11 @@ pkgbase = btop-bin
 	depends = build-essential
 	depends = gcc-10
 	depends = g++-10
-	source_x86_64 = btop-bin-1.1.1.tbz::https://github.com/aristocratos/btop-bin/releases/download/v1.1.1/btop-bin-1.1.1-x86_64-linux-musl.tbz
+	provides = btop
+	conflicts = btop
+	source_x86_64 = btop-1.1.1.tbz::https://github.com/aristocratos/btop/releases/download/v1.1.1/btop-1.1.1-x86_64-linux-musl.tbz
 	sha256sums_x86_64 = 3ca842cd0d5e7c5681e50bc826154a84b64d42bac7974adedf62c5bbe6d65595
-	source_aarch64 = btop-bin-1.1.1.tbz::https://github.com/aristocratos/btop-bin/releases/download/v1.1.1/btop-1.1.1-aarch64-linux-musl.tbz
+	source_aarch64 = btop-1.1.1.tbz::https://github.com/aristocratos/btop/releases/download/v1.1.1/btop-1.1.1-aarch64-linux-musl.tbz
 	sha256sums_aarch64 = aaf321b66ca0536140e605a9294bea741d5b14678aebe7b521fba1d2c1ac94df
 
 pkgname = btop-bin
diff --git a/PKGBUILD b/PKGBUILD
index 8fafc37..b8812fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,15 @@ pkgver=1.1.1
 pkgrel=1
 pkgdesc='A monitor of system resourecs, bpytop ported to C++'
 arch=(x86_64 aarch64)
-url="https://github.com/aristocratos/$pkgname"
+url="https://github.com/aristocratos/${pkgname%-bin}"
 license=(Apache)
 depends=(coreutils sed git build-essential gcc-10 g++-10)
-_archive="$pkgname-$pkgver"
+_archive="${pkgname%-bin}-${pkgver}"
+provides=('btop')
+conflicts=('btop')
+
 source_x86_64=("$_archive.tbz::${url}/releases/download/v${pkgver}/${_archive}-x86_64-linux-musl.tbz")
-source_aarch64=("$_archive.tbz::${url}/releases/download/v${pkgver}/btop-${pkgver}-aarch64-linux-musl.tbz")
+source_aarch64=("$_archive.tbz::${url}/releases/download/v${pkgver}/${_archive}-aarch64-linux-musl.tbz")
 sha256sums_x86_64=('3ca842cd0d5e7c5681e50bc826154a84b64d42bac7974adedf62c5bbe6d65595')
 sha256sums_aarch64=('aaf321b66ca0536140e605a9294bea741d5b14678aebe7b521fba1d2c1ac94df')