blob: e5bc57ab88ba47498f5451f3f6bb12b100fe8bb7 (
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
|
# Maintainer: satcom886 <rostik.medved@gmail.com>
# Contributor: bronze <jlbakker@gmail.com>
# Contributor: telsch <telsch@gmx.de>
pkgname=vc4clstdlib-git
pkgver=r66.0ad47e3
pkgrel=4
pkgdesc="VC4CL implementation of the OpenCL standard-library and is required to build the VC4C compiler"
arch=('any')
url="https://github.com/doe300/VC4CLStdLib"
license=('MIT')
groups=()
depends=('khronos-ocl-icd')
makedepends=('git' 'make' 'gcc')
optdepends=()
provides=('vc4clstdlib' 'vc4-libraries')
source=("VC4CLStdLib::git+https://github.com/doe300/VC4CLStdLib")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/VC4CLStdLib"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
mkdir -p "$srcdir/VC4CLStdLib/build"
cd "$srcdir/VC4CLStdLib/build"
cmake "$srcdir/VC4CLStdLib"
make
}
package() {
cd "$srcdir/VC4CLStdLib/build"
make DESTDIR="$pkgdir/" install
}
|