summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Casta2019-12-27 09:27:35 +0100
committerCarlo Casta2019-12-27 09:27:35 +0100
commitc7ab3790cae006f77838be21c4fb7aad892b77e0 (patch)
tree4f480f9f51a181cf3f13dbb26ba5c5d3f7a037ea
downloadaur-c7ab3790cae006f77838be21c4fb7aad892b77e0.tar.gz
first release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cbaa3ce862a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = gkrellm-nvidia
+ pkgdesc = A plugin for gkrellm2 which displays nVidia GPU status
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/carcass82/gkrellm-nvidia
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = pkgconfig
+ depends = gkrellm
+ depends = libxnvctrl
+ source = https://github.com/carcass82/gkrellm-nvidia/archive/release-1.0.tar.gz
+ md5sums = 3d8bc8c334e98fe7d63ddbbacc0fa635
+
+pkgname = gkrellm-nvidia
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8ab88cb7562
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Contributor: Carlo Casta <carlo.casta@gmail.com>
+
+pkgname=gkrellm-nvidia
+pkgver=1.0
+pkgrel=1
+pkgdesc="A plugin for gkrellm2 which displays nVidia GPU status"
+arch=('i686' 'x86_64')
+url="https://github.com/carcass82/gkrellm-nvidia"
+license=('GPL')
+depends=('gkrellm' 'libxnvctrl')
+makedepends=('pkgconfig')
+source=(https://github.com/carcass82/$pkgname/archive/release-$pkgver.tar.gz)
+md5sums=('3d8bc8c334e98fe7d63ddbbacc0fa635')
+
+build()
+{
+ cd "$srcdir/$pkgname-release-$pkgver"
+ make
+}
+
+package()
+{
+ cd "$srcdir/$pkgname-release-$pkgver"
+ install -D -m 755 nvidia.so ${pkgdir}/usr/lib/gkrellm2/plugins/nvidia.so
+}