1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
6 pkgdesc='OpenCL C++ header files'
8 url='https://github.com/KhronosGroup/OpenCL-CLHPP'
10 makedepends=('cmake' 'doxygen' 'graphviz')
11 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v${pkgver}.tar.gz")
12 sha256sums=('0175806508abc699586fc9a9387e01eb37bf812ca534e3b493ff3091ec2a9246')
13 depends=('opencl-headers')
16 cd "${srcdir}"/OpenCL-CLHPP*/
19 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DBUILD_EXAMPLES=Off \
27 cd "${srcdir}"/OpenCL-CLHPP*/
29 DESTDIR="$pkgdir" make -C build install
31 install -dm755 "${pkgdir}"/usr/share/doc/"${pkgname}"
32 cp -r build/docs/html/* "${pkgdir}"/usr/share/doc/"${pkgname}"/
33 install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE