[arch-commits] Commit in bear/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed Jan 19 18:52:33 UTC 2022
Date: Wednesday, January 19, 2022 @ 18:52:32
Author: grawlinson
Revision: 1110515
upgpkg: bear; combine dependencies
Move checkdepends to depends due to how makepkg works.
If checks are disabled, the package will fail to compile in build(),
as tests are run alongside compilation.
Modified:
bear/trunk/PKGBUILD
----------+
PKGBUILD | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-19 18:20:13 UTC (rev 1110514)
+++ PKGBUILD 2022-01-19 18:52:32 UTC (rev 1110515)
@@ -10,8 +10,7 @@
url="https://github.com/rizsotto/Bear"
license=('GPL3')
depends=('grpc' 'fmt' 'spdlog' 'nlohmann-json')
-makedepends=('git' 'cmake')
-checkdepends=('gtest' 'python' 'llvm')
+makedepends=('git' 'cmake' 'gtest' 'python' 'llvm')
_commit='275ac3ea4d3907eb194995d5e16f6f9b204c4600'
source=("$pkgname::git+$url.git#commit=$_commit")
b2sums=('SKIP')
@@ -34,14 +33,6 @@
cmake --build build
}
-check() {
- cd "$pkgname"
- # Bear runs tests alongside build. As to why this function even exists,
- # turn your attention to `man PKGBUILD` and look up checkdepends.
- # > These dependencies are only considered when the check() function is
- # > present and is to be run by makepkg.
-}
-
package() {
DESTDIR="$pkgdir" cmake --install build
}
More information about the arch-commits
mailing list