blob: 589c8a58cc45622d0a1c2f23292e95c6901725c4 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=opencl-headers
pkgver=2.1
_pkgreal=OpenCL-Headers
pkgrel=0
pkgdesc="OpenCL (Open Computing Language) header files"
url="https://www.khronos.org/registry/cl/"
arch="noarch"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/itoffshore/OpenCL-Headers/archive/$pkgver.tar.gz
LICENSE.txt
"
builddir="$srcdir"/$_pkgreal-$pkgver
build() {
return 0
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/include/CL \
"$pkgdir"/usr/share/doc/$pkgname
for h in $(ls -1 *.h); do
install -m 644 $h "$pkgdir"/usr/include/CL/
done
install -D -m644 ../LICENSE.txt \
"$pkgdir"/usr/share/doc/$pkgname/LICENSE
}
md5sums="04a5b1a34d0ce47520f08625d97ccfea opencl-headers-2.1.tar.gz
ec724732ce73269486574c718ef0c79b LICENSE.txt"
sha256sums="5d80fe3d9324b635e09d8891297c3c67e30635727d8dee99b9f3cefa73bf762e opencl-headers-2.1.tar.gz
30566989c3069521c673559e4201348629e1e4e49e0e2dde523b27c6bd1738ea LICENSE.txt"
sha512sums="0c475a6d44877289792ef055ed83df82c846e3c56df8dd1d3903965d6f817d99a7eb29b752be435f75485584036cb90e79e3c2035e2ddc99e04f30c0ada97edd opencl-headers-2.1.tar.gz
9f5623f6c20a3e1c5b98f61499b91bb6e8b1cf8bcf2b0a986e2fa4474a2f2a7a6e9d122d2a0262d7c7b19adf4d32fb8cf4e99700984ceb6fbaef03426bb3834b LICENSE.txt"
|