makedepends=(sed)
run=(bash grep sed gawk procps-ng python-psutil)

description="Linux resource monitor"
url="https://github.com/aristocratos/bashtop"

packager="Great-OS Team"
maintainer="Great-OS Team"

name="bashtop"
version="0.9.25"
release=2

PKGMK_KEEP_SOURCES=no
source=($url/archive/refs/tags/v$version.tar.gz)

prepare() {
  cd $name-$version;
  sed -ri 's,^update_check="true"$,update_check="false",' bashtop
}

build() {
  cd $name-$version;
  install -Dm755 bashtop -t "$PKG/usr/bin"
}
