[arch-commits] Commit in libclc/trunk (PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Thu Sep 17 16:13:25 UTC 2015


    Date: Thursday, September 17, 2015 @ 18:13:24
  Author: lcarlier
Revision: 246444

upgpkg: libclc 0.2.0+274+4346c30-1

upstream update 0.2.0 / llvm-3.7 rebuild

Modified:
  libclc/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-17 15:41:53 UTC (rev 246443)
+++ PKGBUILD	2015-09-17 16:13:24 UTC (rev 246444)
@@ -2,17 +2,24 @@
 # Maintainer: Laurent Carlier <lordheavym at gmail.com>
 
 pkgname=libclc
-pkgver=0.0.1.231373
+pkgver=0.2.0+274+4346c30
 pkgrel=1
 pkgdesc="Library requirements of the OpenCL C programming language"
 arch=('any')
 url="http://libclc.llvm.org/"
 license=('MIT')
-makedepends=('clang' 'python2')
+makedepends=('clang' 'llvm' 'python2' 'git')
 options=('staticlibs')
-source=(https://sources.archlinux.org/other/packages/libclc/$pkgname-$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 master)+$(git describe --always)
+  #git describe --long | sed 's/-/+/g'
+}
+
 build() {
   cd libclc
   



More information about the arch-commits mailing list