[arch-commits] Commit in bear/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sat Apr 23 20:14:27 UTC 2022


    Date: Saturday, April 23, 2022 @ 20:14:27
  Author: foutrelis
Revision: 1188261

archrelease: copy trunk to community-staging-x86_64

Added:
  bear/repos/community-staging-x86_64/
  bear/repos/community-staging-x86_64/PKGBUILD
    (from rev 1188260, bear/trunk/PKGBUILD)

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

Copied: bear/repos/community-staging-x86_64/PKGBUILD (from rev 1188260, bear/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-04-23 20:14:27 UTC (rev 1188261)
@@ -0,0 +1,38 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Yiyao Yu <yuydevel at protonmail dot com>
+# Contributor: Moritz Lipp <mlq at pwmt.org>
+
+pkgname=bear
+pkgver=3.0.19
+pkgrel=3
+pkgdesc="A tool to generate compilation database for clang tooling"
+arch=('x86_64')
+url="https://github.com/rizsotto/Bear"
+license=('GPL3')
+depends=('grpc' 'fmt' 'spdlog' 'nlohmann-json')
+makedepends=('git' 'cmake' 'gtest' 'python' 'llvm')
+_commit='213bc263eb70a7c02c72e3e0a2d0ebf98459c549'
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags
+}
+
+prepare() {
+  cmake \
+    -B build \
+    -S "$pkgname" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+    -DCMAKE_INSTALL_LIBEXECDIR="lib/$pkgname"
+}
+
+build() {
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list