summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a42cd32423032cc3c99c4985a43afa3fe62c4829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Daniel Kirchner <daniel at ekpyron dot org>
pkgname=mingw-w64-opencl-headers
pkgver=2.1.20151224
pkgrel=1
pkgdesc="OpenCL (Open Computing Language) header files (mingw-w64 symlinks)"
arch=('any')
license=('custom')
url='http://www.khronos.org/registry/cl/'
depends=('opencl-headers' 'mingw-w64-crt')

_architectures="i686-w64-mingw32 x86_64-w64-mingw32"

package() {
	for _arch in ${_architectures}; do
		mkdir -p "${pkgdir}/usr/${_arch}/include"
		ln -s ../../../usr/include/CL "${pkgdir}/usr/${_arch}/include"
	done
}