[arch-commits] Commit in capnproto/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Jun 7 11:23:28 UTC 2022
Date: Tuesday, June 7, 2022 @ 11:23:27
Author: dvzrv
Revision: 1228450
upgpkg: capnproto 0.10.0-1: Upgrade to 0.10.0.
Simplify calls to make/cmake.
Modified:
capnproto/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-07 11:01:31 UTC (rev 1228449)
+++ PKGBUILD 2022-06-07 11:23:27 UTC (rev 1228450)
@@ -4,7 +4,7 @@
# Contributor: Severen Redwood <severen at shrike.me>
pkgname=capnproto
-pkgver=0.9.1
+pkgver=0.10.0
pkgrel=1
pkgdesc="Cap'n Proto serialization/RPC system"
arch=(x86_64)
@@ -24,24 +24,23 @@
libkj-tls.so
libkj.so
)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('bdc5960f26214139744d768ca4558b085e2d359c375a8849ca532a4c458a2daf0ee1a1f4d00745de5abf353aa1e4084a2d85e5523006f23f591f21fac2d847fd')
-b2sums=('f8de56c7f79b0ddad35f3e8fec7740510ca2328e4ddc633a71420901d3fc44df44d807c3965213dfc2535bbe03832c5164242d33cd0bff901d6f288fb62bab21')
+options=(debug)
+source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz)
+sha512sums=('dfec00a8844807d54a0caaebf52ce88c5e3630bd424ada139d22f065877334606e3ed8e16bbf6d01c6e013e893d863c0ba34145fa53c27a6ab58e17200570800')
+b2sums=('4d25f38cd2709e7d3964f869395cfcbc7a9c9d7fc2a79f2de0a0cc188116c4f7b9f1e2a0f04bb87b7b450fa63b8ee836d41147f11c387732d77914421da54a7b')
build() {
- cd "${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-Wno-dev \
-B build \
- -S .
+ -S $pkgname-$pkgver
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}"
+ make DESTDIR="$pkgdir" install -C build
+ install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 $pkgname-$pkgver/{CONTRIBUTORS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list