blob: bd962cb9f024e5f7b66c9d3495ebc746eaf52446 (
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
45
46
|
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=intel-graphics-compiler-bin
pkgver=1.0.5964
pkgrel=1
epoch=1
pkgdesc='Intel Graphics Compiler for OpenCL (pre-compiled binaries)'
arch=('x86_64')
url='https://github.com/intel/intel-graphics-compiler/'
license=('MIT')
depends=('gcc-libs' 'zlib')
provides=('intel-graphics-compiler')
conflicts=('intel-graphics-compiler' 'intel-opencl-clang')
options=('!strip' '!emptydirs')
source=("https://github.com/intel/intel-graphics-compiler/releases/download/igc-${pkgver}/intel-igc-core_${pkgver}_amd64.deb"
"https://github.com/intel/intel-graphics-compiler/releases/download/igc-${pkgver}/intel-igc-media_${pkgver}_amd64.deb"
"https://github.com/intel/intel-graphics-compiler/releases/download/igc-${pkgver}/intel-igc-opencl-devel_${pkgver}_amd64.deb"
"https://github.com/intel/intel-graphics-compiler/releases/download/igc-${pkgver}/intel-igc-opencl_${pkgver}_amd64.deb"
'LICENSE')
noextract=("intel-igc-core_${pkgver}_amd64.deb"
"intel-igc-media_${pkgver}_amd64.deb"
"intel-igc-opencl-devel_${pkgver}_amd64.deb"
"intel-igc-opencl_${pkgver}_amd64.deb")
sha256sums=('c0bfbca8f89e49be493641c5c5dce71160a0d03670bed226f697c2102dda73e2'
'4693abbd5b991b6d794695b8b1daec67e2a640bc7ffdca34aeabb173b4a5b4cb'
'9e6a3635e4a7251de92185f1337511fb11094eed71cd2f3ba3bf9cae39653a7b'
'4eb55a9249e7f54e58e2058477f2e910c45a8b2c0e7d22ce3e51e4fb22668ac3'
'8c95643f47a244153bef1c2d3a2801dde2b566f0294aae956c8a5226f7acd789')
prepare() {
mkdir -p igc-{core,media,opencl-devel,opencl}-"$pkgver"
bsdtar -xf "intel-igc-core_${pkgver}_amd64.deb" -C "igc-core-${pkgver}"
bsdtar -xf "intel-igc-media_${pkgver}_amd64.deb" -C "igc-media-${pkgver}"
bsdtar -xf "intel-igc-opencl-devel_${pkgver}_amd64.deb" -C "igc-opencl-devel-${pkgver}"
bsdtar -xf "intel-igc-opencl_${pkgver}_amd64.deb" -C "igc-opencl-${pkgver}"
}
package() {
bsdtar -xf "igc-core-${pkgver}/data.tar.gz" -C "$pkgdir"
bsdtar -xf "igc-media-${pkgver}/data.tar.gz" -C "$pkgdir"
bsdtar -xf "igc-opencl-devel-${pkgver}/data.tar.gz" -C "$pkgdir"
bsdtar -xf "igc-opencl-${pkgver}/data.tar.gz" -C "$pkgdir"
mv "${pkgdir}/usr/local/"{bin,include,lib} "${pkgdir}/usr"
install -D -m644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/usr/lib/igc/NOTICES.txt" "${pkgdir}/usr/share/licenses/${pkgname}"
}
|