jobextra/nvtop/PKGBUILD
2023-08-19 02:38:52 +03:00

39 lines
1 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=nvtop
pkgver=3.0.2
pkgrel=01
pkgdesc="GPUs process monitoring for AMD, Intel and NVIDIA"
url="https://github.com/Syllo/nvtop"
depends=('ncurses')
makedepends=('cmake' 'libdrm')
source=("https://github.com/Syllo/nvtop/archive/$pkgver/$pkgname-$pkgver.tar.gz")
build() {
cd $pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DNVIDIA_SUPPORT=ON -DAMDGPU_SUPPORT=ON .
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL3')
sha256sums=(63fa45a2d675fe5320704850c216da6a6bb2edaf09821c26b3800fa7744bae00) # nvtop-3.0.2.tar.gz
## 75e0bed8d12de751d2c819217389764ed10d71c8399d1e1508065783714ec9c9 nvtop-3.0.2-01-x86_64.pkg.tar.lz