summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ecdbe1953aa02800bdbbd61530cdf21d62a520c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Carlo Casta <carlo.casta@gmail.com>

pkgname=gkrellm-nvidia
pkgver=1.1
pkgrel=2
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' 'nvidia-utils')
makedepends=('pkgconfig')
source=(https://github.com/carcass82/$pkgname/archive/release-$pkgver.tar.gz)
sha256sums=('71b3b9168ed7b1782b795fb043e2ec9e10c638a9d57009b7bef92d0fe52add15')

build()
{
	cd "$srcdir/$pkgname-release-$pkgver"
	LDFLAGS="" make
}

package()
{
	cd "$srcdir/$pkgname-release-$pkgver"
	install -D -m 755 nvidia.so ${pkgdir}/usr/lib/gkrellm2/plugins/nvidia.so
}