diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = bpytop-git pkgdesc = Resource monitor that shows usage and stats for processor, memory, disks, network and processes - pkgver = r226.adee413 + pkgver = 1.0.42.r0.gadee413 pkgrel = 1 url = https://github.com/aristocratos/bpytop arch = any @@ -10,7 +10,7 @@ pkgbase = bpytop-git depends = python-psutil provides = bpytop conflicts = bpytop - source = bpytop::git+https://github.com/aristocratos/bpytop.git + source = git+https://github.com/aristocratos/bpytop.git sha256sums = SKIP pkgname = bpytop-git @@ -2,7 +2,7 @@ _pkgname='bpytop' pkgname="${_pkgname}-git" -pkgver=r226.adee413 +pkgver=1.0.42.r0.gadee413 pkgrel=1 pkgdesc='Resource monitor that shows usage and stats for processor, memory, disks, network and processes' arch=('any') @@ -12,12 +12,11 @@ depends=('python-psutil') makedepends=('git' 'python-setuptools') provides=("${_pkgname}") conflicts=("${_pkgname}") -source=("${_pkgname}::git+${url}.git") +source=("git+${url}.git") sha256sums=('SKIP') pkgver() { - cd "${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { |