summaryrefslogtreecommitdiff
path: root/libre-multilib/lib32-libclc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre-multilib/lib32-libclc/PKGBUILD')
-rw-r--r--libre-multilib/lib32-libclc/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/libre-multilib/lib32-libclc/PKGBUILD b/libre-multilib/lib32-libclc/PKGBUILD
index e1531e3ea..949034f8c 100644
--- a/libre-multilib/lib32-libclc/PKGBUILD
+++ b/libre-multilib/lib32-libclc/PKGBUILD
@@ -2,19 +2,26 @@
# Contributor: André Silva <emulatorman@parabola.nu>
pkgname=lib32-libclc
-pkgver=0.0.1.231373
+pkgver=0.2.0+274+4346c30
pkgrel=1
pkgdesc="Library requirements of the OpenCL C programming language (32-bit)"
arch=('x86_64')
url="http://libclc.llvm.org/"
license=('MIT')
-makedepends=('lib32-clang' 'python2' 'libclc')
+makedepends=('lib32-clang' 'lib32-llvm' 'python2' 'git' 'libclc')
options=('staticlibs')
replaces=(lib32-libclc-svn)
provides=(lib32-libclc-svn)
conflicts=(lib32-libclc-svn)
-source=(https://sources.archlinux.org/other/packages/libclc/libclc-$pkgver.src.tar.xz)
-md5sums=('e7b0767cd9f6c171ba4990df5d41b2aa')
+source=('git+http://llvm.org/git/libclc#commit=4346c30')
+md5sums=(SKIP)
+
+pkgver() {
+ cd libclc
+
+ echo 0.2.0+$(git rev-list --count HEAD)+$(git describe --always)
+ #git describe --long | sed 's/-/+/g'
+}
build() {
cd libclc