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

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


    Date: Saturday, March 7, 2020 @ 21:45:29
  Author: felixonmars
Revision: 591304

archrelease: copy trunk to community-x86_64

Added:
  nvtop/repos/community-x86_64/
  nvtop/repos/community-x86_64/PKGBUILD
    (from rev 591303, nvtop/trunk/PKGBUILD)

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

Copied: nvtop/repos/community-x86_64/PKGBUILD (from rev 591303, nvtop/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-03-07 21:45:29 UTC (rev 591304)
@@ -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