1 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
2 # Contributor: Sylvain HENRY <hsyl20@yahoo.fr>
8 pkgdesc='OpenCL (Open Computing Language) header files'
10 url='https://www.khronos.org/registry/cl/'
12 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/OpenCL-Headers/archive/v${pkgver}.tar.gz")
13 sha256sums=('0ae857ecb28af95a420c800b21ed2d0f437503e104f841ab8db249df5f4fbe5c')
14 optdepends=('opencl-clhpp: C++ support')
17 cd "${srcdir}"/OpenCL-Headers*/CL
19 install -dm755 "${pkgdir}"/usr/include/CL
22 install -m 644 ${h} "${pkgdir}"/usr/include/CL/
25 # remove useless headers
26 rm "${pkgdir}"/usr/include/CL/{cl_d3d,cl_dx9}*.h
28 install -D -m644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE