1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
2 # Contributor: Sergey A. <murlakatamenka@disroot.org>
7 pkgdesc="Terminal system monitor with histograms, written in Rust"
9 url="https://github.com/bvaisvil/zenith"
12 makedepends=('cargo' 'clang')
13 optdepends=('nvidia-utils')
14 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
15 sha256sums=('2cbcea2625cfa97c161b974ad412a47e330f7fd31bec0479e329ed3606cfc569')
19 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
24 cargo build --release --frozen
34 install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
35 install -Dm 644 "README.md" -t "$pkgdir/usr/share/doc/$pkgname"
36 install -Dm 644 "LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
37 install -Dm 644 "assets/$pkgname.desktop" -t "$pkgdir/usr/share/applications"
38 install -Dm 644 "assets/$pkgname.png" -t "$pkgdir/usr/share/pixmaps"