updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / cuda_memtest / PKGBUILD
blobb8e0af6579615687477f69e3c0b7066e8dafaf0e
1 # Maintainer: revel <revelΘmuub·net>
3 pkgname=cuda_memtest
4 pkgver=1.2.2
5 pkgrel=1
6 pkgdesc="A GPU memory test utility for NVIDIA and AMD GPUs. OpenCL version."
7 arch=('i686' 'x86_64')
8 url="http://cudagpumemtest.sourceforge.net/"
9 license="Illinois Open Source License"
10 depends=('libcl')
11 makedepends=('opencl-headers')
12 conflicts=()
13 replaces=()
14 backup=()
15 #install=
16 source=("http://downloads.sourceforge.net/project/cudagpumemtest/$pkgname-$pkgver.tar.gz"
17         "path.patch")
19 build() {
20   cd $srcdir/$pkgname-$pkgver
21   patch -p1 -i ../path.patch
22   make ocl_memtest
25 package() {
26   cd $srcdir/$pkgname-$pkgver
27   install -d $pkgdir/usr/bin
28   install ocl_memtest $pkgdir/usr/bin
29   install -d $pkgdir/usr/share/$pkgname
30   install -m644 ocl_memtest_kernels.cpp $pkgdir/usr/share/$pkgname
33 md5sums=('d079249a554461689a8a2562b0ce09cc'
34          '6a591ecced8b512adf7fecfdf277b363')
35 sha256sums=('5b1f9c9f89f73d09034501e3dfe47f50a9a69a45ecd73bcdfadc6fb72eceaffa'
36             '25b80161f63b61562015e8c89d1f4ff77b2d1d9140f879d7e29cf3ad7447cbca')