[arch-commits] Commit in zapcc/repos (community-x86_64 community-x86_64/PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat Jun 30 20:27:19 UTC 2018


    Date: Saturday, June 30, 2018 @ 20:27:18
  Author: arodseth
Revision: 349203

archrelease: copy trunk to community-x86_64

Added:
  zapcc/repos/community-x86_64/
  zapcc/repos/community-x86_64/PKGBUILD
    (from rev 349201, zapcc/trunk/PKGBUILD)

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

Copied: zapcc/repos/community-x86_64/PKGBUILD (from rev 349201, zapcc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-06-30 20:27:18 UTC (rev 349203)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=zapcc
+pkgver=5.0
+pkgrel=1
+pkgdesc='C++ compiler based on Clang, but significantly faster'
+arch=('x86_64')
+license=('custom')
+url='https://zapcc.com/'
+depends=('python' 'python2' 'z3')
+makedepends=('cmake' 'git')
+source=("git+https://github.com/yrnkrn/zapcc.git#commit=35fa2aed76fffa222db340dcb9257f66dc858d42")
+sha256sums=('SKIP')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake "../$pkgname" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLLVM_ENABLE_WARNINGS=OFF \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DPYTHON_EXECUTABLE=/usr/bin/python
+  make
+}
+
+package() {
+  cd build
+  for component in clang-headers zapcc zapccs; do
+    DESTDIR="$pkgdir" cmake -DCOMPONENT="$component" -P ./cmake_install.cmake
+  done
+  install -Dm644 ../$pkgname/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list