summaryrefslogtreecommitdiff
path: root/libre-multilib/lib32-libclc
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-29 03:14:09 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-29 04:17:35 -0300
commit0111189cc968bb728761383005d9db6a87e7f3f9 (patch)
treed4f3811e80093b27f32008ac63e2de14ad76cf09 /libre-multilib/lib32-libclc
parentf4f84d20bb1e57530dc11c0bb6e1ea6e2789337e (diff)
downloadabslibre-0111189cc968bb728761383005d9db6a87e7f3f9.tar.gz
abslibre-0111189cc968bb728761383005d9db6a87e7f3f9.tar.bz2
abslibre-0111189cc968bb728761383005d9db6a87e7f3f9.zip
lib32-libclc-0.2.0+274+4346c30-1: updating version
Diffstat (limited to 'libre-multilib/lib32-libclc')
-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