mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-16 15:35:11 +02:00
Bear: update to 3.1.6.
This commit is contained in:
parent
468cc166a1
commit
c77359c088
1 changed files with 11 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'Bear'
|
# Template file for 'Bear'
|
||||||
pkgname=Bear
|
pkgname=Bear
|
||||||
version=3.1.5
|
version=3.1.6
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config protobuf protobuf-devel grpc"
|
hostmakedepends="pkg-config protobuf protobuf-devel grpc"
|
||||||
|
@ -11,8 +11,17 @@ maintainer="John <me@johnnynator.dev>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/rizsotto/Bear"
|
homepage="https://github.com/rizsotto/Bear"
|
||||||
distfiles="https://github.com/rizsotto/Bear/archive/${version}.tar.gz"
|
distfiles="https://github.com/rizsotto/Bear/archive/${version}.tar.gz"
|
||||||
checksum=4ac7b041222dcfc7231c6570d5bd76c39eaeda7a075ee2385b84256e7d659733
|
checksum=99cd891eec6e89b734d7cafe0e623dd8c2f27d8cbf3ee9bc4807e69e5c8fb55c
|
||||||
|
|
||||||
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
||||||
configure_args="-DENABLE_FUNC_TESTS=OFF -DENABLE_UNIT_TESTS=OFF"
|
configure_args="-DENABLE_FUNC_TESTS=OFF -DENABLE_UNIT_TESTS=OFF"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
# Change STAGED_INSTALL_PREFIX to a path in ${wrksrc}
|
||||||
|
vsed -i 's|set(STAGED_INSTALL_PREFIX .*|set(STAGED_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/staged")|' CMakeLists.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -rf ${DESTDIR}/${wrksrc}/staged
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue