blob: 83f97a2bacb41cc93661972e06b38c89ce82748d (
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
|
# Maintainer: oysstu <oysstu at gmail dot com>
pkgname=gz-utils3
pkgver=3.1.1
pkgrel=2
_pkgmaj=${pkgver%%.*}
_pkgbase=${pkgname::-${#_pkgmaj}}
pkgdesc="Classes and functions for robot applications."
arch=('any')
url="https://github.com/gazebosim/${_pkgbase}"
license=('Apache-2.0')
depends=('cli11' 'spdlog')
makedepends=(
'cmake'
'gz-cmake=4'
'doxygen'
)
provides=("${_pkgbase}=${_pkgmaj}")
source=("https://github.com/gazebosim/${_pkgbase}/archive/${pkgname}_${pkgver}.tar.gz")
sha256sums=('e3cf80c00454c964d61948d13e79a790cfa14b82fbb0c76fbd8170105fb28761')
build() {
cmake -B build -S "${_pkgbase}-${pkgname}_${pkgver}" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DBUILD_TESTING=OFF \
-DGZ_UTILS_VENDOR_CLI11=false \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|