# Maintainer: acxz # Contributor: Tim Rakowski # Contributor: marauder pkgname=ignition-msgs pkgver=4.2.0 pkgrel=3 pkgdesc="Standard set of message definitions, used by Ignition Transport, and other applications." arch=('i686' 'x86_64') url="http://ignitionrobotics.org" license=('Apache') groups=('development') depends=('protobuf' 'protobuf-c' 'ignition-math>=6' 'ignition-tools') makedepends=('ignition-cmake>=2' 'ruby-ronn' 'doxygen') optdepends=() conflicts=() source=("https://bitbucket.org/ignitionrobotics/ign-msgs/get/${pkgname}4_${pkgver}.tar.bz2") sha256sums=('260d9f9aafe4a6f997af7d5967e9aa21306bfb30c832be113f7edb4b126a4085') _dir="ignitionrobotics-ign-msgs-e438e8fa0e2a" build() { cd "${srcdir}/${_dir}" mkdir -p build && cd build cmake .. -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_INSTALL_LIBDIR="lib" \ -DBUILD_TESTING:BOOL=False make } #check() { # cd "$srcdir/$_dir/build" # # cmake .. -DCMAKE_BUILD_TYPE="Release" \ # -DCMAKE_INSTALL_PREFIX="/usr" \ # -DCMAKE_INSTALL_LIBDIR="lib" \ # -DBUILD_TESTING:BOOL=True # # make # make test #} package() { cd "${srcdir}/${_dir}/build" make DESTDIR="${pkgdir}/" install }