mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
950 B
Bash
28 lines
950 B
Bash
|
# $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
|
||
|
}
|