Date: Friday, May 19, 2017 @ 08:23:16
  Author: lcarlier
Revision: 296282

archrelease: copy trunk to testing-any

Added:
  opencl-headers/repos/testing-any/
  opencl-headers/repos/testing-any/LICENSE.txt
    (from rev 296281, opencl-headers/trunk/LICENSE.txt)
  opencl-headers/repos/testing-any/PKGBUILD
    (from rev 296281, opencl-headers/trunk/PKGBUILD)

-------------+
 LICENSE.txt |   20 ++++++++++++++++++++
 PKGBUILD    |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: opencl-headers/repos/testing-any/LICENSE.txt (from rev 296281, 
opencl-headers/trunk/LICENSE.txt)
===================================================================
--- testing-any/LICENSE.txt                             (rev 0)
+++ testing-any/LICENSE.txt     2017-05-19 08:23:16 UTC (rev 296282)
@@ -0,0 +1,20 @@
+ * Copyright (c) 2008-2010 The Khronos Group Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and/or associated documentation files (the
+ * "Materials"), to deal in the Materials without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Materials, and to
+ * permit persons to whom the Materials are furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Materials.
+ *
+ * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.

Copied: opencl-headers/repos/testing-any/PKGBUILD (from rev 296281, 
opencl-headers/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2017-05-19 08:23:16 UTC (rev 296282)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: St├ęphane Gaudreault <steph...@archlinux.org>
+# Contributor: Sylvain HENRY <hsy...@yahoo.fr>
+
+pkgname=opencl-headers
+pkgver=2.2.20170516 
+pkgrel=1
+epoch=2
+pkgdesc='OpenCL (Open Computing Language) header files'
+arch=('any')
+url='https://www.khronos.org/registry/cl/'
+license=('custom')
+makedepends=(git python)
+source=('git+https://github.com/KhronosGroup/OpenCL-Headers.git#commit=ec2566b'
+        'git+https://github.com/KhronosGroup/OpenCL-CLHPP.git#commit=e250e2e'
+        'LICENSE.txt')
+sha256sums=('SKIP'
+            'SKIP'
+            'd1059405dce021e0c0a7f7e01b48447e641477e0c14a9bc29983f4202b67c410')
+
+package() {
+  cd "${srcdir}"/OpenCL-Headers/opencl22/CL
+
+  install -dm755 "${pkgdir}"/usr/include/CL
+
+  for h in *.h; do
+    install -m 644 ${h} "${pkgdir}"/usr/include/CL/
+  done
+
+  # remove useless headers
+  rm "${pkgdir}"/usr/include/CL/{cl_d3d,cl_dx9}*.h
+
+  cd "${srcdir}"/OpenCL-CLHPP
+
+  python gen_cl_hpp.py -i input_cl.hpp -o cl.hpp
+  install -m 644 cl.hpp "${pkgdir}"/usr/include/CL/
+  install -m 644 input_cl2.hpp "${pkgdir}"/usr/include/CL/cl2.hpp
+
+  install -D -m644 ../LICENSE.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Reply via email to