summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTim Rakowski2017-11-12 17:27:53 +0100
committerTim Rakowski2017-11-12 17:27:53 +0100
commit2f7474ea7df0a69a5cf209a712f4b8012eafae19 (patch)
treee9bb8ca1630c4e64f61800143635194db21431b5 /PKGBUILD
parent176f6e27be113ac3903eff8bf7b4f591d43f1d71 (diff)
downloadaur-ros-lunar-roslang.tar.gz
Update to version 1.14.2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e368ab8b2c5..05884f4c2c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,13 @@ pkgdesc="ROS - roslang is a common package that all ROS client libraries depend
url='http://ros.org/wiki/roslang'
pkgname='ros-lunar-roslang'
-pkgver='1.14.1'
+pkgver='1.14.2'
_pkgver_patch=0
arch=('any')
pkgrel=1
license=('BSD')
-ros_makedepends=(ros-lunar-catkin)
+ros_makedepends=()
makedepends=('cmake' 'ros-build-tools'
${ros_makedepends[@]})
@@ -18,6 +18,9 @@ ros_depends=(ros-lunar-catkin
ros-lunar-genmsg)
depends=(${ros_depends[@]})
+ros_checkdepends=()
+checkdepends=(${ros_checkdepends[@]})
+
# Git version (e.g. for debugging)
# _tag=release/lunar/roslang/${pkgver}-${_pkgver_patch}
# _dir=${pkgname}
@@ -27,7 +30,7 @@ depends=(${ros_depends[@]})
# Tarball version (faster download)
_dir="ros-release-release-lunar-roslang-${pkgver}-${_pkgver_patch}"
source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/ros-release/archive/release/lunar/roslang/${pkgver}-${_pkgver_patch}.tar.gz")
-sha256sums=('97d8e8587427d4e89ae88c7b94f0e510b6bc828b9ee4af7a4d7e3924ec0d3fc7')
+sha256sums=('c94c14fcc5b14a3d6ec72cfc15b868e6fcf48ceb40c0aa3113db18ca2ed9f432')
build() {
# Use ROS environment variables
@@ -35,14 +38,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 \
@@ -50,7 +53,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
}