blob: a9e8f4ec9d6b65c158699a375d98db250dc94597 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#Maintainer: Marco Claessens <marco@twilp.nl>
pkgname=bosce
pkgver=1.3
pkgrel=2
pkgdesc="boost::statechart extractor"
makedepends=('gcc' 'make' 'cmake')
depends=('boost')
optdepends=('plantuml: Generate PNG files')
arch=('x86_64' 'aarch64')
url="https://github.com/kanje/bosce"
license=("Boost")
source=(
"${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz"
)
sha256sums=('5da52265b155324db79103306ce91d553f3e983cd4db5f1a103782e1f3076334')
build() {
rm -rf build
cmake -B build -S "${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev
cmake --build build
}
check() {
cd build
ctest --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|