Initial Commit
This commit is contained in:
31
nvtop-git/spira.sh
Normal file
31
nvtop-git/spira.sh
Normal file
@@ -0,0 +1,31 @@
|
||||
name='nvtop-git'
|
||||
version='3.2.0'
|
||||
release='0'
|
||||
desc='GPU & Accelerator process monitoring for AMD, Apple, Huawei, Intel, NVIDIA and Qualcomm'
|
||||
homepage='https://github.com/Syllo/nvtop'
|
||||
maintainer="Nil Geisweiller <ngeiswei@gmail.com>"
|
||||
architectures=('amd64')
|
||||
license=('GPL-3.0-or-later')
|
||||
provides=('nvtop')
|
||||
conflicts=('nvtop')
|
||||
build_deps=('cmake' 'gcc' 'g++' 'libncurses-dev')
|
||||
sources=("git+https://github.com/Syllo/nvtop.git")
|
||||
checksums=('SKIP')
|
||||
|
||||
version() {
|
||||
cd "${srcdir}/nvtop"
|
||||
git-version
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/nvtop"
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DNVIDIA_SUPPORT=ON -DAMDGPU_SUPPORT=ON -DINTEL_SUPPORT=ON -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr"
|
||||
make -j
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/nvtop/build"
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user