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

David Runge dvzrv at archlinux.org
Thu Apr 23 20:48:23 UTC 2020


    Date: Thursday, April 23, 2020 @ 20:48:22
  Author: dvzrv
Revision: 618322

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: capnproto/repos/community-staging-x86_64/PKGBUILD (from rev 618321, capnproto/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-23 20:48:22 UTC (rev 618322)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributors: Dave Reisner <dreisner at archlinux.org>
+#               Matthias Blaicher <matthias at blaicher.com>
+#               Severen Redwood <severen at shrike.me>
+
+pkgname=capnproto
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="Cap'n Proto serialization/RPC system"
+arch=('x86_64')
+url='https://capnproto.org/'
+license=('MIT')
+depends=('gcc-libs' 'glibc' '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.so')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('a3b87d47f4c160c3c72304539c3d2a6836488a50d1014c9f0eb95c112dc1e0f85b3158d26c248eff464205388ea61733c45ba10dc5441e5dd04064ba2c7970e6')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DBUILD_SHARED_LIBS=ON \
+        -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