summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTim Rakowski2017-11-12 17:28:17 +0100
committerTim Rakowski2017-11-12 17:28:17 +0100
commit66a4e2a0378599baed98572e463da282578d0932 (patch)
tree5ea7bc9ce47ee0b0c1400ea681c21b06e7125718 /PKGBUILD
parent3a32439ceb91cc7b2094d04ff53ce4d7aed9c3b8 (diff)
downloadaur-ros-lunar-roslib.tar.gz
Update to version 1.14.2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 45a3104bca5..8b0ca52118b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,13 @@ pkgdesc="ROS - Base dependencies and support libraries for ROS."
url='http://ros.org/wiki/roslib'
pkgname='ros-lunar-roslib'
-pkgver='1.14.1'
+pkgver='1.14.2'
_pkgver_patch=0
arch=('any')
pkgrel=1
license=('BSD')
-ros_makedepends=(ros-lunar-rospack
- ros-lunar-catkin)
+ros_makedepends=()
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]}
boost)
@@ -21,6 +20,9 @@ ros_depends=(ros-lunar-catkin
depends=(${ros_depends[@]}
python2-rospkg)
+ros_checkdepends=()
+checkdepends=(${ros_checkdepends[@]})
+
# Git version (e.g. for debugging)
# _tag=release/lunar/roslib/${pkgver}-${_pkgver_patch}
# _dir=${pkgname}
@@ -30,7 +32,7 @@ depends=(${ros_depends[@]}
# Tarball version (faster download)
_dir="ros-release-release-lunar-roslib-${pkgver}-${_pkgver_patch}"
source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/ros-release/archive/release/lunar/roslib/${pkgver}-${_pkgver_patch}.tar.gz")
-sha256sums=('937d8177d970df7d790bacc1ea7a58e6d1355f64b7eba2b3d243f207802a4582')
+sha256sums=('c5f7355518c6659a7ca7b4ce44ec6022208f1ddbfd6e4e843f5894d4292ef5f4')
build() {
# Use ROS environment variables
@@ -38,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 \
@@ -53,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
}