1
0
mirror of https://github.com/danog/ytop.git synced 2024-12-02 09:27:48 +01:00
ytop/package-publisher/templates/aur
2020-02-15 06:57:05 -08:00

26 lines
643 B
Plaintext

# Maintainer: Caleb Bassi <calebjbassi@gmail.com>
# https://wiki.archlinux.org/index.php/Rust_package_guidelines
pkgname=ytop
pkgver={{ VERSION }}
pkgrel=1
pkgdesc="A TUI system monitor written in Rust"
arch=(x86_64)
url="https://github.com/cjbassi/ytop"
license=("MIT")
makedepends=("cargo")
provides=(${pkgname})
conflicts=(${pkgname})
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=("{{ REPO_SHA256 }}")
build() {
cd "${pkgname}-${pkgver}"
cargo build --release --locked --all-features
}
package() {
install -Dm755 "${pkgname}-${pkgver}/target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}