2020-01-25 18:04:45 +01:00
|
|
|
# Maintainer: Caleb Bassi <calebjbassi@gmail.com>
|
|
|
|
|
|
|
|
pkgname=ytop-bin
|
|
|
|
_pkgname=${pkgname%-bin}
|
|
|
|
pkgver={{ VERSION }}
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A TUI system monitor written in Rust"
|
|
|
|
arch=(x86_64)
|
|
|
|
url="https://github.com/cjbassi/ytop"
|
|
|
|
license=("MIT")
|
|
|
|
provides=(${_pkgname})
|
|
|
|
conflicts=(${_pkgname})
|
2020-02-15 15:28:18 +01:00
|
|
|
source=("${_pkgname}-${pkgver}.tar.gz::${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}-${arch}-unknown-linux-gnu.tar.gz")
|
2020-01-25 18:04:45 +01:00
|
|
|
sha256sums=("{{ SHA256 }}")
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
|
|
|
|
}
|