Date: Thursday, August 27, 2015 @ 21:59:40 Author: lcarlier Revision: 138829
archrelease: copy trunk to community-any Added: opencl-headers/repos/community-any/LICENSE.txt (from rev 138828, opencl-headers/trunk/LICENSE.txt) opencl-headers/repos/community-any/PKGBUILD (from rev 138828, opencl-headers/trunk/PKGBUILD) Deleted: opencl-headers/repos/community-any/LICENSE.txt opencl-headers/repos/community-any/PKGBUILD -------------+ LICENSE.txt | 40 ++++++++++----------- PKGBUILD | 107 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 74 insertions(+), 73 deletions(-) Deleted: LICENSE.txt =================================================================== --- LICENSE.txt 2015-08-27 19:59:32 UTC (rev 138828) +++ LICENSE.txt 2015-08-27 19:59:40 UTC (rev 138829) @@ -1,20 +0,0 @@ - * 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/community-any/LICENSE.txt (from rev 138828, opencl-headers/trunk/LICENSE.txt) =================================================================== --- LICENSE.txt (rev 0) +++ LICENSE.txt 2015-08-27 19:59:40 UTC (rev 138829) @@ -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. Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-08-27 19:59:32 UTC (rev 138828) +++ PKGBUILD 2015-08-27 19:59:40 UTC (rev 138829) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault <steph...@archlinux.org> -# Contributor: Sylvain HENRY <hsy...@yahoo.fr> - -pkgname=opencl-headers -pkgver=2.0.20150719 -_clbasever=2.0 -pkgrel=1 -epoch=2 -pkgdesc='OpenCL (Open Computing Language) header files' -arch=('any') -url='http://www.khronos.org/registry/cl/' -license=('custom') -source=("https://sources.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.src.tar.xz" - 'LICENSE.txt') -_headers=("http://www.khronos.org/registry/cl/api/${_clbasever}/cl_ext.h" - "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_egl.h" - "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_gl_ext.h" - "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_gl.h" - "http://www.khronos.org/registry/cl/api/${_clbasever}/cl.h" - "http://www.khronos.org/registry/cl/api/${_clbasever}/cl.hpp" - "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_platform.h" - "http://www.khronos.org/registry/cl/api/${_clbasever}/opencl.h") -sha1sums=('fc5a95a4811af1b6d14cca00679d9032b2a15deb' - '98abb35b2eca82d0fc19db6d28fcc7bd20be0655') - -# source PKGBUILD && mksource -mksource() { - cd "${srcdir}" - _dirname=${pkgname}-${pkgver} - mkdir ${_dirname} - - pushd ${_dirname} - for _h in ${_headers[@]}; do - wget ${_h} - done - popd - - tar -cJv --exclude=CVS -f ${_dirname}.src.tar.xz ${_dirname} - rm -rf ${_dirname} -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - install -dm755 "${pkgdir}"/usr/include/CL - - for h in $(ls -1 *.h *.hpp); do - install -m 644 ${h} "${pkgdir}"/usr/include/CL/ - done - - install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} Copied: opencl-headers/repos/community-any/PKGBUILD (from rev 138828, opencl-headers/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-08-27 19:59:40 UTC (rev 138829) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Sylvain HENRY <hsy...@yahoo.fr> + +pkgname=opencl-headers +pkgver=2.0.20150827 +_clbasever=2.0 +pkgrel=1 +epoch=2 +pkgdesc='OpenCL (Open Computing Language) header files' +arch=('any') +url='http://www.khronos.org/registry/cl/' +license=('custom') +source=("https://sources.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.src.tar.xz" + 'LICENSE.txt') +_headers=("http://www.khronos.org/registry/cl/api/${_clbasever}/cl_ext.h" + "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_egl.h" + "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_gl_ext.h" + "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_gl.h" + "http://www.khronos.org/registry/cl/api/${_clbasever}/cl.h" + "http://www.khronos.org/registry/cl/api/1.2/cl.hpp" + "http://www.khronos.org/registry/cl/api/${_clbasever}/cl2.hpp" + "http://www.khronos.org/registry/cl/api/${_clbasever}/cl_platform.h" + "http://www.khronos.org/registry/cl/api/${_clbasever}/opencl.h") +sha1sums=('5889c9dda903b09e69f8bfbbdd623b01f1c4e8aa' + '98abb35b2eca82d0fc19db6d28fcc7bd20be0655') + +# source PKGBUILD && mksource +mksource() { + cd "${srcdir}" + _dirname=${pkgname}-${pkgver} + mkdir ${_dirname} + + pushd ${_dirname} + for _h in ${_headers[@]}; do + wget ${_h} + done + popd + + tar -cJv --exclude=CVS -f ${_dirname}.src.tar.xz ${_dirname} + rm -rf ${_dirname} +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + install -dm755 "${pkgdir}"/usr/include/CL + + for h in $(ls -1 *.h *.hpp); do + install -m 644 ${h} "${pkgdir}"/usr/include/CL/ + done + + install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}