blob: badeca04d33927fd57a10b78954671d6c433c53e (
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
38
39
40
41
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=ignition-sensors
pkgver=8.0.0
pkgrel=1
pkgdesc="Provides numerous sensor models designed to generate realistic data
from simulation environments."
arch=('x86_64')
url="https://gazebosim.org/libs/sensors"
license=('Apache')
depends=(
ignition-transport
ignition-rendering
ignition-msgs
ignition-plugin
sdformat
)
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gazebosim/gz-sensors/archive/gz-sensors8_${pkgver}.tar.gz")
sha256sums=('f86d6572f31efc199a623462faaa1b380c91a3706a60561aa498562aa939184e')
_dir="gz-sensors-gz-sensors8_${pkgver}"
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DBUILD_TESTING=OFF
make
}
package() {
cd "$srcdir/$_dir/build"
make DESTDIR="${pkgdir}/" install
}
|