[arch-commits] Commit in libclc/repos (testing-any testing-any/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Jun 12 17:29:45 UTC 2019


    Date: Wednesday, June 12, 2019 @ 17:29:45
  Author: andyrtr
Revision: 355933

archrelease: copy trunk to testing-any

Added:
  libclc/repos/testing-any/
  libclc/repos/testing-any/PKGBUILD
    (from rev 355932, libclc/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: libclc/repos/testing-any/PKGBUILD (from rev 355932, libclc/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2019-06-12 17:29:45 UTC (rev 355933)
@@ -0,0 +1,33 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=libclc
+pkgver=0.2.0+585+9f6204e
+pkgrel=1
+pkgdesc="Library requirements of the OpenCL C programming language"
+arch=('any')
+url="https://libclc.llvm.org/"
+license=('MIT')
+makedepends=('clang' 'llvm' 'python' 'git')
+options=('staticlibs')
+source=('git+https://llvm.org/git/libclc.git#commit=9f6204e')
+md5sums=('SKIP')
+
+pkgver() {
+  cd libclc
+
+  echo 0.2.0+$(git rev-list --count HEAD)+$(git describe --always)
+}
+
+build() {
+  cd libclc
+   ./configure.py --prefix=/usr
+  make
+}
+
+package() {
+  cd libclc
+  
+  make install DESTDIR="$pkgdir"
+  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+



More information about the arch-commits mailing list