diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-09 22:35:59 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-09 22:35:59 (GMT) |
commit | e0f7a30fcaee0d2bcb0e2a93fadbc99cb2b247f9 (patch) | |
tree | 8527e6528a921b89e67739f89eb34a0d0ec4feba /abs/extra-testing/community | |
parent | 3b6174555ae281c23a4cde55e95d5981e1388ee9 (diff) | |
download | linhes_pkgbuild-e0f7a30fcaee0d2bcb0e2a93fadbc99cb2b247f9.zip linhes_pkgbuild-e0f7a30fcaee0d2bcb0e2a93fadbc99cb2b247f9.tar.gz linhes_pkgbuild-e0f7a30fcaee0d2bcb0e2a93fadbc99cb2b247f9.tar.bz2 |
Nvclock.
Useful for checking temps of nvidia GPUs.
Diffstat (limited to 'abs/extra-testing/community')
-rw-r--r-- | abs/extra-testing/community/nvclock/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/extra-testing/community/nvclock/nvclock-0.8b4-buildfix.patch | 16 |
2 files changed, 43 insertions, 0 deletions
diff --git a/abs/extra-testing/community/nvclock/PKGBUILD b/abs/extra-testing/community/nvclock/PKGBUILD new file mode 100644 index 0000000..d49f915 --- /dev/null +++ b/abs/extra-testing/community/nvclock/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 23406 2009-01-09 22:39:57Z andyrtr $ +# Contributor: Markus Meissner <markus@meissna.de> +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgname=nvclock +pkgver=0.8b4 +pkgrel=1 +pkgdesc="A small utility which allows users to overclock NVIDIA based video cards" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2') +source=(http://www.linuxhardware.org/$pkgname/${pkgname}${pkgver}.tar.gz + nvclock-0.8b4-buildfix.patch) +url="http://www.linuxhardware.org/nvclock/" +md5sums=('23f1b3ebf40f35d76d5fdac50f66ab11' + '1da24b50dd6a8c4704fa550a3e1a8b53') +options=('!makeflags') + +build(){ + cd ${srcdir}/$pkgname$pkgver + # build fix from Fedora + patch -Np1 -i $srcdir/nvclock-0.8b4-buildfix.patch || return 1 + sed -i 's:${prefix}/man:${prefix}\/share\/man:' ${srcdir}/$pkgname$pkgver/Makefile.in || return 1 + ./configure --prefix=/usr --bindir=/usr/bin + make || return 1 || return 1 + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/abs/extra-testing/community/nvclock/nvclock-0.8b4-buildfix.patch b/abs/extra-testing/community/nvclock/nvclock-0.8b4-buildfix.patch new file mode 100644 index 0000000..cdc9f5c --- /dev/null +++ b/abs/extra-testing/community/nvclock/nvclock-0.8b4-buildfix.patch @@ -0,0 +1,16 @@ +diff -upNr nvclock0.8b4.orign/src/Makefile.in nvclock0.8b4/src/Makefile.in +--- nvclock0.8b4.orign/src/Makefile.in 2009-01-03 18:02:54.000000000 +0100 ++++ nvclock0.8b4/src/Makefile.in 2009-01-07 11:37:39.000000000 +0100 +@@ -50,8 +50,8 @@ distclean: distclean-recursive clean-app + install: install-recursive install-app + install-app: + mkdir -p $(bindir) +- $(INSTALL) -c nvclock $(DESTDIR)$(bindir)/nvclock +- $(INSTALL) -c smartdimmer $(DESTDIR)$(bindir)/smartdimmer ++ $(INSTALL) -c nvclock $(bindir)/nvclock ++ $(INSTALL) -c smartdimmer $(bindir)/smartdimmer + + + uninstall: uninstall-recursive uninstall-app + + |