diff options
author | satcom886 | 2020-06-30 00:10:56 +0200 |
---|---|---|
committer | satcom886 | 2020-06-30 00:10:56 +0200 |
commit | 8e8e4d460f5c5475082b9f4572c06cfa50a36633 (patch) | |
tree | 1c9e27be62e9abfe8d851908842d24175391b971 /PKGBUILD | |
parent | ded128788d83e88c344f264e6065379bfa17bfe4 (diff) | |
download | aur-8e8e4d460f5c5475082b9f4572c06cfa50a36633.tar.gz |
Added the forgotten pkgver()
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=vc4cl-git pkgver=0 -pkgrel=4 +pkgrel=5 pkgdesc="VC4CL is an implementation of the OpenCL 1.2 standard for the VideoCore IV GPU." arch=('any') url="https://github.com/doe300/VC4CL" @@ -15,6 +15,11 @@ provides=('opencl-pi' 'opencl-vc4' 'opencl-driver' 'vc4-opencl' 'vc4cl') source=("VC4CL::git+https://github.com/doe300/VC4CL" "VC4CL.icd") md5sums=('SKIP' 'SKIP') +pkgver() { + cd "$srcdir/VC4CLStdLib" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + build() { mkdir -p $srcdir/VC4CL/build cd $srcdir/VC4CL/build |