blob: 59a4ca1e47bf64c2b3ab1142bd07a9d280ecf892 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Denis Demidov <dennis.demidov@gmail.com>
pkgname=vexcl-git
pkgver=20170418
pkgrel=5
pkgdesc='a C++ vector expression template library for OpenCL/CUDA'
arch=('i686' 'x86_64')
url='http://github.com/ddemidov/vexcl'
license=('MIT')
depends=('boost-libs')
conflicts=('vexcl')
provides=('vexcl')
makedepends=('git' 'cmake' 'boost' 'opencl-headers')
source=(git+https://github.com/ddemidov/vexcl.git)
md5sums=('SKIP')
build() {
cd "${srcdir}/vexcl"
ls
mkdir -p build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/vexcl/build"
DESTDIR=${pkgdir} make install
}
|