[arch-commits] Commit in capnproto/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Dec 12 11:46:22 UTC 2019
Date: Thursday, December 12, 2019 @ 11:46:21
Author: dvzrv
Revision: 537345
upgpkg: capnproto 0.7.0-3
Rebuilding using cmake. Including all direct library dependencies.
Adding libcapnp.so, libcapnp-json.so, libcapnp-rpc.so, libcapnpc.so, libkj-async.so, libkj-gzip.so, libkj-http.so, libkj-test.so and libkj.so to provides.
Modified:
capnproto/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-12 07:43:39 UTC (rev 537344)
+++ PKGBUILD 2019-12-12 11:46:21 UTC (rev 537345)
@@ -1,4 +1,4 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# 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>
@@ -5,29 +5,33 @@
pkgname=capnproto
pkgver=0.7.0
-pkgrel=2
+pkgrel=3
pkgdesc="Cap'n Proto serialization/RPC system"
arch=('x86_64')
url='https://capnproto.org/'
license=('MIT')
-depends=('openssl')
-provides=('capnproto')
-source=("https://capnproto.org/${pkgname}-c++-${pkgver}.tar.gz")
-sha512sums=('9f8fb5753155798fcf9377a87f984a54d9fc5157c41aa11cd94108a773ca22d6e6952657e2d8079c9806f7de06f316c94957329fa52dbab6207aaa3b52348f04')
+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=('a3ea278ded6a866759c0517d16b99bd38ffea1c163ce63a3604b752d8bdaafbc38a600de94afe12db35e7f7f06e29cc94c911dc2e0ecec6fe1185452df2a2bd3')
build() {
- cd "${pkgname}-c++-${pkgver}"
- export CXXFLAGS+=" -std=c++14"
- ./configure --prefix='/usr'
- make
+ cd "${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
}
package() {
- cd "${pkgname}-c++-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -vDm 644 LICENSE.txt \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ 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