summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTim Rakowski2017-12-12 21:48:21 +0100
committerTim Rakowski2017-12-12 21:48:21 +0100
commit267fc77b72870a747901e2dd13f85fc41881f50e (patch)
treedd248f6d1ee34fa22908672e35fb1c816b624969 /PKGBUILD
parent876a9707b1a5624266c6ab527ea2179a57b16498 (diff)
downloadaur-ros-lunar-gazebo-msgs.tar.gz
Update to version 2.7.3-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3449a1a6fca..8b1366a84b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,19 +4,14 @@ pkgdesc="ROS - Message and service data structures for interacting with Gazebo f
url='http://gazebosim.org/tutorials?cat=connect_ros'
pkgname='ros-lunar-gazebo-msgs'
-pkgver='2.7.2'
+pkgver='2.7.3'
_pkgver_patch=0
arch=('any')
pkgrel=1
license=('BSD')
-ros_makedepends=(ros-lunar-std-srvs
- ros-lunar-catkin
- ros-lunar-std-msgs
- ros-lunar-sensor-msgs
- ros-lunar-geometry-msgs
- ros-lunar-message-generation
- ros-lunar-trajectory-msgs)
+ros_makedepends=(ros-lunar-catkin
+ ros-lunar-message-generation)
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
@@ -37,7 +32,7 @@ depends=(${ros_depends[@]})
# Tarball version (faster download)
_dir="gazebo_ros_pkgs-release-release-lunar-gazebo_msgs-${pkgver}-${_pkgver_patch}"
source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/gazebo_ros_pkgs-release/archive/release/lunar/gazebo_msgs/${pkgver}-${_pkgver_patch}.tar.gz")
-sha256sums=('60c3eb674602e38a4882eaa64467df2b596052ae2118a6bd2b3ed81909bd4ff3')
+sha256sums=('1c476daab5db78b888bc3bc8b674c04b21d0fa15149d54fdf8e07a1d2340f02a')
build() {
# Use ROS environment variables
@@ -45,14 +40,14 @@ build() {
[ -f /opt/ros/lunar/setup.bash ] && source /opt/ros/lunar/setup.bash
# Create build directory
- [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
- cd ${srcdir}/build
+ [ -d "${srcdir}/build" ] || mkdir "${srcdir}/build"
+ cd "${srcdir}/build"
# Fix Python2/Python3 conflicts
- /usr/share/ros-build-tools/fix-python-scripts.sh -v 2 ${srcdir}/${_dir}
+ /usr/share/ros-build-tools/fix-python-scripts.sh -v 2 "${srcdir}/${_dir}"
# Build project
- cmake ${srcdir}/${_dir} \
+ cmake "${srcdir}/${_dir}" \
-DCMAKE_BUILD_TYPE=Release \
-DCATKIN_BUILD_BINARY_PACKAGE=ON \
-DCMAKE_INSTALL_PREFIX=/opt/ros/lunar \
@@ -60,7 +55,8 @@ build() {
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
-DPYTHON_BASENAME=-python2.7 \
- -DSETUPTOOLS_DEB_LAYOUT=OFF
+ -DSETUPTOOLS_DEB_LAYOUT=OFF \
+ -DCATKIN_ENABLE_TESTING=OFF
make
}