diff options
author | satcom886 | 2020-06-29 23:08:57 +0200 |
---|---|---|
committer | satcom886 | 2020-06-29 23:08:57 +0200 |
commit | b5b1d12301490ad01f3a7d5cc3e312aaba5dec5d (patch) | |
tree | ae8e8768338e4a0c92d21f8173060262f584477d | |
parent | 2ef07e43203cfdc2bd3f101a115c4f177187cc8c (diff) | |
download | aur-b5b1d12301490ad01f3a7d5cc3e312aaba5dec5d.tar.gz |
Changed to git and hopefully made it work properly
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 15 insertions, 15 deletions
@@ -1,23 +1,23 @@ pkgbase = vc4c-git pkgdesc = Compiler for the VC4CL OpenCL-implementation - pkgver = 1 - pkgrel = 6 + pkgver = 0 + pkgrel = 7 url = https://github.com/doe300/VC4C arch = any license = MIT makedepends = wget makedepends = gcc makedepends = cmake - makedepends = clang + makedepends = llvm makedepends = opencl-headers depends = vc4clstdlib-git - depends = llvm + depends = clang depends = clinfo depends = ocl-icd provides = vc4c provides = vc4-compiler provides = opencl-compiler - source = VC4C.tar.gz::https://github.com/doe300/VC4C/archive/master.tar.gz + source = VC4C::git+https://github.com/doe300/VC4C source = auto_dummy.patch md5sums = SKIP md5sums = e409cafcdc79aa53aef1484e53bd25e7 @@ -1,32 +1,32 @@ # Maintainer: satcom886 <rostik.medved@gmail.com> pkgname=vc4c-git -pkgver=1 -pkgrel=6 +pkgver=0 +pkgrel=7 pkgdesc="Compiler for the VC4CL OpenCL-implementation" arch=('any') url="https://github.com/doe300/VC4C" license=('MIT') groups=() -depends=('vc4clstdlib-git' 'llvm' 'clinfo' 'ocl-icd') -makedepends=('wget' 'gcc' 'cmake' 'clang' 'opencl-headers') +depends=('vc4clstdlib-git' 'clang' 'clinfo' 'ocl-icd') +makedepends=('wget' 'gcc' 'cmake' 'llvm' 'opencl-headers') optdepends=() provides=('vc4c' 'vc4-compiler' 'opencl-compiler') -source=("VC4C.tar.gz::https://github.com/doe300/VC4C/archive/master.tar.gz" "auto_dummy.patch") +source=("VC4C::git+https://github.com/doe300/VC4C" "auto_dummy.patch") md5sums=('SKIP' 'e409cafcdc79aa53aef1484e53bd25e7') prepare() { - patch -R $srcdir/VC4C-master/src/ProcessUtil.cpp $srcdir/auto_dummy.patch + patch -R $srcdir/VC4C/src/ProcessUtil.cpp $srcdir/auto_dummy.patch } build() { - mkdir -p $srcdir/VC4C-master/build - cd $srcdir/VC4C-master/build - cmake "$srcdir/VC4C-master" -DCMAKE_BUILD_TYPE=Release -DMULTI_THREADED=true -DCLANG_FOUND=/usr/bin/clang -DVC4CL_STDLIB_DIR=/usr/local/include/vc4cl-stdlib + mkdir -p $srcdir/VC4C/build + cd $srcdir/VC4C/build + cmake "$srcdir/VC4C" -DCMAKE_BUILD_TYPE=Release -DMULTI_THREADED=true -DCLANG_FOUND=/usr/bin/clang -DVC4CL_STDLIB_DIR=/usr/local/include/vc4cl-stdlib make } package() { - cd $srcdir/VC4C-master/build + cd $srcdir/VC4C/build make DESTDIR="$pkgdir"/ install } |