blob: b120f0a42ff54dbf8b7e3b343c29dd72e2f06dd4 (
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
42
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Nxxx <nx dot tardis at gmail dot com>
pkgname=ignition-transport-8
pkgver=8.4.0
pkgrel=3
pkgdesc="Transport library for component communication based on publication/subscription and service calls."
arch=('i686' 'x86_64')
url="https://gazebosim.org/libs/transport"
license=('Apache')
groups=('development')
depends=('protobuf' 'protobuf-c' 'zeromq' 'ignition-msgs=5' 'ignition-tools=1'
'libutil-linux' 'cppzmq')
makedepends=('ignition-cmake=2' 'util-linux')
provides=('ignition-transport=8')
source=("https://github.com/gazebosim/gz-transport/archive/ignition-transport8_${pkgver}.tar.gz"
protobuf-stubs-casts.patch)
sha256sums=('65472a874bbb0f6bb686b3c0cce4146fb650e750f8f795a159523ecbe731c1c7'
'c6490e7d8099dd11a00338f7440d7355ab28ca7f43cdbe3dea1db12bbd583d76')
_dir="gz-transport-ignition-transport8_${pkgver}"
prepare() {
cd ${srcdir}/${_dir}
patch -Np1 -i ${srcdir}/protobuf-stubs-casts.patch
}
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
}
|