summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ce3249ea132..adbd1ca6d33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgdesc="ROS - roscreate contains a tool that assists in the creation of ROS fil
url='http://ros.org/wiki/roscreate'
pkgname='ros-lunar-roscreate'
-pkgver='1.14.1'
+pkgver='1.14.2'
_pkgver_patch=0
arch=('any')
pkgrel=1
@@ -18,6 +18,9 @@ ros_depends=()
depends=(${ros_depends[@]}
python2-rospkg)
+ros_checkdepends=()
+checkdepends=(${ros_checkdepends[@]})
+
# Git version (e.g. for debugging)
# _tag=release/lunar/roscreate/${pkgver}-${_pkgver_patch}
# _dir=${pkgname}
@@ -27,7 +30,7 @@ depends=(${ros_depends[@]}
# Tarball version (faster download)
_dir="ros-release-release-lunar-roscreate-${pkgver}-${_pkgver_patch}"
source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/ros-release/archive/release/lunar/roscreate/${pkgver}-${_pkgver_patch}.tar.gz")
-sha256sums=('4d2852d285df312fdeed4a60bc1ef8274d5906e8765196fd29910344f5557fd5')
+sha256sums=('9f76e0611aa10a73144aa600e8855543be55462db775b9ecdd4cf5af3c6e1d9d')
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
}