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

Laurent Carlier lcarlier at archlinux.org
Fri Sep 5 19:49:18 UTC 2014


    Date: Friday, September 5, 2014 @ 21:49:18
  Author: lcarlier
Revision: 221026

archrelease: copy trunk to staging-any

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

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

Copied: libclc/repos/staging-any/PKGBUILD (from rev 221025, libclc/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2014-09-05 19:49:18 UTC (rev 221026)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=libclc
+pkgver=0.0.1.217247
+pkgrel=1
+pkgdesc="Library requirements of the OpenCL C programming language"
+arch=('any')
+url="http://libclc.llvm.org/"
+license=('MIT')
+makedepends=('clang' 'svn' 'python2')
+options=('staticlibs')
+source=('libclc::svn+http://llvm.org/svn/llvm-project/libclc/trunk#revision=217247')
+md5sums=(SKIP)
+
+build() {
+  cd libclc
+  
+  sed -i 's/"python < $in >/sys.executable + " < $in >/g' configure.py
+#  sed -i 's/python < $in >/python2 < $in >/g' configure.py
+  
+  python2 ./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