summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9770577bd99ee3d82e3fc57212379de39724cc6f (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
# Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com>

_pkgroot=teleop_tools
_pkgname=teleop_tools_msgs
pkgname=ros2-humble-teleop-tools-msgs
pkgver=1.3.0
pkgrel=5
pkgdesc="The teleop_tools_msgs package"
url="https://index.ros.org/p/teleop_tools_msgs/"
arch=('any')
makedepends=('cmake')
depends=(
    'ros2-humble' 
)
source=("https://github.com/ros-teleop/teleop_tools/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('902e5fbdec909ee66e1b428df5076f125c231361211a1bd2a10b933fbc4d1f85')

build() {
    source /opt/ros/humble/setup.bash

    cmake -B build -S "$_pkgroot-$pkgver/$_pkgname" \
        -DCMAKE_BUILD_TYPE='None' \
        -DCMAKE_INSTALL_PREFIX='/opt/ros/humble' \
        -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" \
        -Wno-dev \
    
    cmake --build build
}

package() {
    DESTDIR="$pkgdir" cmake --install build
}