updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / foldingathome-gpu-nvidia / PKGBUILD
blob045afc41456000f701ab93b0836dd95cf01c0c1b
1 pkgname=foldingathome-gpu-nvidia
2 pkgver=6.41
3 pkgrel=1
4 pkgdesc="Folding@Home gpu3 client for Nvidia cards"
5 arch=('x86_64')
6 url="http://folding.stanford.edu/"
7 license=('custom')
8 depends=('lib32-nvidia-utils>=256.40' 'lib32-cuda-toolkit' 'lib32-nvcuda' 'wine')
9 install=foldingathome-gpu.install
10 source=('http://www.stanford.edu/~friedrim/Folding@home-Win32-GPU_XP-641.zip'
11  'foldingathome-gpu.conf'
12  'foldingathome-gpu.rc.d')
14 build() {
15   mkdir -p $startdir/pkg/opt/fah-gpu/
16   mkdir -p $startdir/pkg/opt/fah-gpu/{alpha,bravo,charlie,delta,echo,foxtrot,golf,hotel}
17   mkdir -p $startdir/pkg/etc/rc.d/
18   mkdir -p $startdir/pkg/etc/conf.d/
19   cd $startdir/src/
20   install -m 755 Folding@home-Win32-gpu.exe $startdir/pkg/opt/fah-gpu/
21   rm -rf *.dll
22   install -m 755 $startdir/foldingathome-gpu.rc.d $startdir/pkg/etc/rc.d/foldingathome-gpu
23   install -m 644 $startdir/foldingathome-gpu.conf $startdir/pkg/etc/conf.d/foldingathome-gpu
25 md5sums=('9ebca50f5ac714ce8fda5355a637027b'
26          'bf1d79a61637aa38d5113230be4b9cc0'
27          'dae5473706ae88d102c01c6fc59fbc4f')