summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc24eb24710d0e92014d373409398f1b7bf79320 (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
# Maintainer: Tong Chunli (tty2099@gmail.com) 

pkgname=fastrtps-git
_pkgnm=Fast-RTPS
pkgver=1.8.0
pkgrel=1
pkgdesc="eprosima Fast RTPS is a C++ implementation of the RTPS (Real Time Publish Subscribe) protocol" 
arch=('any')
url="https://www.eprosima.com"
license=('Apache2.0')
depends=()
conflicts=(fastrtps)
makedepends=(cmake jdk8-openjdk gradle)
source=(git+https://github.com/eProsima/Fast-RTPS)
sha256sums=('SKIP')


package(){
  cd "$srcdir"
  rm -rf build
  mkdir build && cd build
  export GRADLE_USER_HOME=/tmp
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DTHIRDPARTY=ON -DBUILD_JAVA=ON  -DCOMPILE_EXAMPLES=OFF -DPERFORMANCE_TESTS=ON -DSECURITY=ON ../$_pkgnm 
  make
  make DESTDIR=$pkgdir install
}