blob: b2d2865ebdd1fbc817c3b4d3923ff6e9160ea9a6 (
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
43
44
45
46
47
|
# Maintainer: Dennis van der Schagt <dennisschagt@gmail.com>
pkgname=eprosima-fast-dds
pkgver=2.11.0
pkgrel=2
pkgdesc="eProsima's Fast-DDS implementation"
arch=('x86_64')
url="https://github.com/eProsima/Fast-DDS"
license=('Apache')
depends=('foonathan_memory-shared' 'asio' 'tinyxml2' 'eprosima-fast-cdr')
makedepends=('cmake')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
"https://github.com/eProsima/Fast-DDS/archive/v${pkgver}.tar.gz"
"001-include-cstdint.patch"
)
noextract=()
sha256sums=(
'afaf43fbee90d6dbecbbe7c363860c4963f8db2f4be94dc7c61a27bfdf841b83'
'9656a7c2780040a922ecd85b9ba046ec72375a394b5ae199d570d1c1b7e82abf'
)
validpgpkeys=()
prepare() {
cd Fast-DDS-${pkgver}
patch --forward --strip=1 --input="${srcdir}/001-include-cstdint.patch"
}
build() {
cd "Fast-DDS-$pkgver"
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
.
cmake --build build --parallel 8
}
package() {
cd "Fast-DDS-$pkgver"
make -C build DESTDIR="$pkgdir/" install
}
|