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

David Runge dvzrv at gemini.archlinux.org
Sun Nov 21 21:13:42 UTC 2021


    Date: Sunday, November 21, 2021 @ 21:13:42
  Author: dvzrv
Revision: 1054003

archrelease: copy trunk to community-staging-x86_64

Added:
  capnproto/repos/community-staging-x86_64/
  capnproto/repos/community-staging-x86_64/PKGBUILD
    (from rev 1054002, capnproto/trunk/PKGBUILD)

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

Copied: capnproto/repos/community-staging-x86_64/PKGBUILD (from rev 1054002, capnproto/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-21 21:13:42 UTC (rev 1054003)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Matthias Blaicher <matthias at blaicher.com>
+# Contributor: Severen Redwood <severen at shrike.me>
+
+pkgname=capnproto
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="Cap'n Proto serialization/RPC system"
+arch=(x86_64)
+url="https://capnproto.org/"
+license=(MIT)
+depends=(gcc-libs glibc openssl zlib)
+makedepends=(cmake)
+provides=(
+  libcapnp.so
+  libcapnp-json.so
+  libcapnp-rpc.so
+  libcapnpc.so
+  libkj-async.so
+  libkj-gzip.so
+  libkj-http.so
+  libkj-test.so
+  libkj-tls.so
+  libkj.so
+)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('bdc5960f26214139744d768ca4558b085e2d359c375a8849ca532a4c458a2daf0ee1a1f4d00745de5abf353aa1e4084a2d85e5523006f23f591f21fac2d847fd')
+b2sums=('f8de56c7f79b0ddad35f3e8fec7740510ca2328e4ddc633a71420901d3fc44df44d807c3965213dfc2535bbe03832c5164242d33cd0bff901d6f288fb62bab21')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DBUILD_SHARED_LIBS=ON \
+        -Wno-dev \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install -C build
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {CONTRIBUTORS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list