[arch-commits] Commit in (nvtop nvtop/repos nvtop/trunk nvtop/trunk/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Mar 7 21:45:03 UTC 2020


    Date: Saturday, March 7, 2020 @ 21:45:03
  Author: felixonmars
Revision: 591303

addpkg: nvtop 1.0.0-2

Added:
  nvtop/
  nvtop/repos/
  nvtop/trunk/
  nvtop/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Added: nvtop/trunk/PKGBUILD
===================================================================
--- nvtop/trunk/PKGBUILD	                        (rev 0)
+++ nvtop/trunk/PKGBUILD	2020-03-07 21:45:03 UTC (rev 591303)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Maxime Schmitt <maxime.schmitt91 at gmail.com>
+
+pkgname=nvtop
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="An htop like monitoring tool for NVIDIA GPUs"
+arch=('x86_64')
+url="https://github.com/Syllo/nvtop"
+license=('GPL3')
+depends=('nvidia-utils' 'ncurses')
+makedepends=('cmake' 'cuda')
+source=("https://github.com/Syllo/nvtop/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('de3d7b6a889f886f3bc28c15c3c34cfb6fcb7cb7ebc9a0cc36c3c77d837029b1')
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir/" install
+}



More information about the arch-commits mailing list