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

Evangelos Foutras foutrelis at archlinux.org
Wed Apr 15 23:09:09 UTC 2020


    Date: Wednesday, April 15, 2020 @ 23:09:09
  Author: foutrelis
Revision: 380399

archrelease: copy trunk to staging-any

Added:
  libclc/repos/staging-any/
  libclc/repos/staging-any/PKGBUILD
    (from rev 380398, libclc/trunk/PKGBUILD)

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

Copied: libclc/repos/staging-any/PKGBUILD (from rev 380398, libclc/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-04-15 23:09:09 UTC (rev 380399)
@@ -0,0 +1,33 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=libclc
+pkgver=0.2.0+589+9aa6f35
+pkgrel=2
+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=9aa6f35')
+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