Date: Saturday, October 5, 2019 @ 14:32:56 Author: lcarlier Revision: 363843
archrelease: copy trunk to staging-any Added: libclc/repos/staging-any/ libclc/repos/staging-any/PKGBUILD (from rev 363842, libclc/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: libclc/repos/staging-any/PKGBUILD (from rev 363842, libclc/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2019-10-05 14:32:56 UTC (rev 363843) @@ -0,0 +1,33 @@ +# Maintainer: Laurent Carlier <lordhea...@gmail.com> + +pkgname=libclc +pkgver=0.2.0+589+9aa6f35 +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=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" +} +