updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / renouveau / PKGBUILD
blobbb2678c26530091c9b22be261825c16da85c9f5e
1 # Contributor: Daniel Micay <danielmicay@gmail.com>
2 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
3 # Contributor: Michal Krenek <mikos@sg1.cz>
5 pkgname=renouveau
6 pkgver=20110108
7 pkgrel=1
8 pkgdesc="A tool for clean room reverse engineering of nVidia drivers"
9 arch=('i686' 'x86_64')
10 url="http://nouveau.freedesktop.org"
11 license=('MIT')
12 depends=('sdl' 'nvidia-utils' 'libxvmc')
13 makedepends=('cvs')
14 options=('!strip' 'docs')
15 install=renouveau.install
16 source=()
17 md5sums=()
19 _cvsroot=":pserver:anonymous@nouveau.cvs.sourceforge.net:/cvsroot/nouveau"
20 _cvsmod="renouveau"
22 build() {
23   cd "$srcdir"
24   msg "Connecting to nouveau.cvs.sourceforge.net CVS server...."
25   cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
27   msg "CVS checkout done or server timeout"
28   msg "Starting make..."
30   cp -r $_cvsmod $_cvsmod-build
31   cd $_cvsmod-build
33   make
35   install -Dm755 renouveau "$pkgdir/usr/bin/renouveau"
36   install -Dm755 disasm_shader "$pkgdir/usr/bin/disasm_shader"
37   install -Dm644 README "$pkgdir/usr/share/doc/README"
38   install -Dm644 license.txt "$pkgdir/usr/share/licenses/renouveau/license.txt"
40   rm -rf "$srcdir/$_cvsmod-build"