summaryrefslogtreecommitdiff
path: root/libs/opencl-headers/MAKEPKG
blob: 1e4a7a165df413256d90145a99fbdf738c666ab9 (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
#!/bin/mkpkg
# description: Khronos OpenCL API Headers
# url: https://github.com/KhronosGroup/OpenCL-Headers

name=opencl-headers
version=2026.05.29
release=1
depends=()
makedeps=(cmake)
source=(https://github.com/KhronosGroup/OpenCL-Headers/archive/refs/tags/v$version.tar.gz)
renames=(opencl-headers-$version.tar.gz)
sha256sums=(
    "d9e6c48357de5002da11ce45de600e0c3ffe6ab4f628a3b9fe2b38603161658a"
)

build() {
    cmake -S OpenCL-Headers-$version -B build \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DBUILD_TESTING=OFF

    DESTDIR=$PKG cmake --install build
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh