summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD89
1 files changed, 45 insertions, 44 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 68fdea9aeec..0a185e157fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,59 +1,60 @@
-# Maintainer: Timon Engelke <aur@timonengelke.de>
pkgdesc="ROS - Components of MoveIt connecting to MongoDB."
url='https://moveit.ros.org'
pkgname='ros-noetic-moveit-ros-warehouse'
-pkgver='1.0.2'
+pkgver='1.0.5'
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
-pkgrel=2
+pkgrel=1
license=('BSD')
-ros_makedepends=(ros-noetic-tf
- ros-noetic-warehouse-ros
- ros-noetic-roscpp
- ros-noetic-moveit-ros-planning
- ros-noetic-rosconsole
- ros-noetic-catkin)
-makedepends=('cmake' 'ros-build-tools'
- ${ros_makedepends[@]})
-
-ros_depends=(ros-noetic-warehouse-ros
- ros-noetic-roscpp
- ros-noetic-moveit-ros-planning
- ros-noetic-rosconsole
- ros-noetic-tf)
-depends=(${ros_depends[@]})
-
-# Git version (e.g. for debugging)
-# _tag=release/noetic/moveit_ros_warehouse/${pkgver}-${_pkgver_patch}
-# _dir=${pkgname}
-# source=("${_dir}"::"git+https://github.com/ros-gbp/moveit-release.git"#tag=${_tag})
-# sha256sums=('43d6173332d19c008103c4f1fb1a114f8fab9d1010c717f4efe24e88e2b32a28')
-
-# Tarball version (faster download)
+ros_makedepends=(
+ ros-noetic-tf
+ ros-noetic-warehouse-ros
+ ros-noetic-roscpp
+ ros-noetic-moveit-ros-planning
+ ros-noetic-rosconsole
+ ros-noetic-catkin
+)
+makedepends=(
+ cmake
+ ros-build-tools
+ ${ros_makedepends[@]}
+)
+
+ros_depends=(
+ ros-noetic-warehouse-ros
+ ros-noetic-roscpp
+ ros-noetic-moveit-ros-planning
+ ros-noetic-rosconsole
+ ros-noetic-tf
+)
+depends=(
+ ${ros_depends[@]}
+)
+
_dir="moveit-${pkgver}/moveit_ros/warehouse"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros-planning/moveit/archive/${pkgver}.tar.gz")
-sha256sums=('b8194308c57dbe34bbb729cfccb30d1113af3a54a90a2cfb49482142d1044ea4')
+sha256sums=('78f874c64156d761c77e0988ae1a4d9e492023b33664dcf1299ec6154f2bd45a')
build() {
- # Use ROS environment variables
- source /usr/share/ros-build-tools/clear-ros-env.sh
- [ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash
-
- # Create build directory
- [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
- cd ${srcdir}/build
-
- # Build project
- cmake ${srcdir}/${_dir} \
- -DCATKIN_BUILD_BINARY_PACKAGE=ON \
- -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
- -DPYTHON_EXECUTABLE=/usr/bin/python \
- -DSETUPTOOLS_DEB_LAYOUT=OFF
- make
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash
+
+ # Create build directory
+ [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
+ cd ${srcdir}/build
+
+ # Build project
+ cmake ${srcdir}/${_dir} \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
+ -DPYTHON_EXECUTABLE=/usr/bin/python \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
}
package() {
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}/" install
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
}