File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Maintainer: Yao Zi <me@ziyao.cc>
2+
3+ pkgname=verdict
4+ pkgver=1.4.4
5+ pkgrel=1
6+ pkgdesc=' Compute quality functions of 2 and 3-dimensional regions'
7+ url=' https://github.com/sandialabs/verdict'
8+ arch=(x86_64 aarch64 riscv64 loongarch64)
9+ license=(BSD-3-Clause)
10+ depends=(musl llvm-libs)
11+ makedepends=(cmake doxygen googletest)
12+ provides=(libverdict.so)
13+ source=(" https://github.com/sandialabs/verdict/archive/refs/tags/$pkgver .tar.gz" )
14+ sha256sums=(' d12d1cd41c6568997df348a72cc2973a662fae1b3634a068ea2201b5f7383186' )
15+
16+ build () {
17+ cmake -S " $pkgname -$pkgver " -B build \
18+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
19+ -DCMAKE_INSTALL_PREFIX=/usr \
20+ -DBUILD_SHARED_LIBS=ON
21+
22+ cmake --build build
23+ }
24+
25+ check () {
26+ ctest --test-dir build
27+ }
28+
29+ package () {
30+ DESTDIR=" $pkgdir " cmake --install build
31+ _install_license_ " $pkgname -$pkgver " /LICENSE
32+ }
You can’t perform that action at this time.
0 commit comments