summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonçalo Camelo Neves Pereira2019-01-09 20:04:44 +0100
committerGonçalo Camelo Neves Pereira2019-01-09 20:04:44 +0100
commitb91a07510bb11e31913c7f8a27aade9adfc33b26 (patch)
tree8497a808e11fd4e35f3c757f9730f1f01688c579
parent647b0f7aa75cf5094083e5db26fedeed9a523d2c (diff)
downloadaur-b91a07510bb11e31913c7f8a27aade9adfc33b26.tar.gz
Update!
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD98
2 files changed, 61 insertions, 57 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f8631a0b78b..5653bde84ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,27 +1,27 @@
pkgbase = ros-melodic-diff-drive-controller
pkgdesc = ROS - Controller for a differential drive mobile base.
- pkgver = 0.14.1
+ pkgver = 0.14.2
pkgrel = 1
url = https://github.com/ros-controls/ros_controllers/wiki
arch = any
license = BSD
makedepends = cmake
makedepends = ros-build-tools
- makedepends = ros-melodic-tf
- makedepends = ros-melodic-controller-interface
- makedepends = ros-melodic-catkin
makedepends = ros-melodic-urdf
+ makedepends = ros-melodic-dynamic-reconfigure
makedepends = ros-melodic-realtime-tools
+ makedepends = ros-melodic-catkin
makedepends = ros-melodic-nav-msgs
- makedepends = ros-melodic-dynamic-reconfigure
- depends = ros-melodic-tf
- depends = ros-melodic-controller-interface
+ makedepends = ros-melodic-controller-interface
+ makedepends = ros-melodic-tf
depends = ros-melodic-urdf
+ depends = ros-melodic-dynamic-reconfigure
depends = ros-melodic-realtime-tools
depends = ros-melodic-nav-msgs
- depends = ros-melodic-dynamic-reconfigure
- source = ros-melodic-diff-drive-controller-0.14.1-0.tar.gz::https://github.com/ros-gbp/ros_controllers-release/archive/release/melodic/diff_drive_controller/0.14.1-0.tar.gz
- sha256sums = 8717112a9c3003ad0ebf501f7770c9d46e04f4cd5a89fe8c6c212898d373b8a6
+ depends = ros-melodic-controller-interface
+ depends = ros-melodic-tf
+ source = ros-melodic-diff-drive-controller-0.14.2-0.tar.gz::https://github.com/ros-gbp/ros_controllers-release/archive/release/melodic/diff_drive_controller/0.14.2-0.tar.gz
+ sha256sums = f940c2704f46974e650214aa59fbb8b375ac37b6bac1110995124bffe81656e6
pkgname = ros-melodic-diff-drive-controller
diff --git a/PKGBUILD b/PKGBUILD
index 3398f641e48..673263b5919 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,70 +1,74 @@
-# Script generated with import_catkin_packages.py
-# For more information: https://github.com/bchretien/arch-ros-stacks
+# Script generated with import_catkin_packages.py.
+# For more information: https://github.com/bchretien/arch-ros-stacks.
pkgdesc="ROS - Controller for a differential drive mobile base."
url='https://github.com/ros-controls/ros_controllers/wiki'
pkgname='ros-melodic-diff-drive-controller'
-pkgver='0.14.1'
+pkgver='0.14.2'
_pkgver_patch=0
arch=('any')
pkgrel=1
license=('BSD')
-ros_makedepends=(ros-melodic-tf
- ros-melodic-controller-interface
- ros-melodic-catkin
- ros-melodic-urdf
- ros-melodic-realtime-tools
- ros-melodic-nav-msgs
- ros-melodic-dynamic-reconfigure)
-makedepends=('cmake' 'ros-build-tools'
- ${ros_makedepends[@]})
+ros_makedepends=(
+ ros-melodic-urdf
+ ros-melodic-dynamic-reconfigure
+ ros-melodic-realtime-tools
+ ros-melodic-catkin
+ ros-melodic-nav-msgs
+ ros-melodic-controller-interface
+ ros-melodic-tf
+)
-ros_depends=(ros-melodic-tf
- ros-melodic-controller-interface
- ros-melodic-urdf
- ros-melodic-realtime-tools
- ros-melodic-nav-msgs
- ros-melodic-dynamic-reconfigure)
-depends=(${ros_depends[@]})
+makedepends=(
+ 'cmake'
+ 'ros-build-tools'
+ ${ros_makedepends[@]}
+)
-# Git version (e.g. for debugging)
-# _tag=release/melodic/diff_drive_controller/${pkgver}-${_pkgver_patch}
-# _dir=${pkgname}
-# source=("${_dir}"::"git+https://github.com/ros-gbp/ros_controllers-release.git"#tag=${_tag})
-# sha256sums=('SKIP')
+ros_depends=(
+ ros-melodic-urdf
+ ros-melodic-dynamic-reconfigure
+ ros-melodic-realtime-tools
+ ros-melodic-nav-msgs
+ ros-melodic-controller-interface
+ ros-melodic-tf
+)
+
+depends=(
+ ${ros_depends[@]}
+)
-# Tarball version (faster download)
_dir="ros_controllers-release-release-melodic-diff_drive_controller-${pkgver}-${_pkgver_patch}"
source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/ros_controllers-release/archive/release/melodic/diff_drive_controller/${pkgver}-${_pkgver_patch}.tar.gz")
-sha256sums=('8717112a9c3003ad0ebf501f7770c9d46e04f4cd5a89fe8c6c212898d373b8a6')
+sha256sums=('f940c2704f46974e650214aa59fbb8b375ac37b6bac1110995124bffe81656e6')
build() {
- # Use ROS environment variables
- source /usr/share/ros-build-tools/clear-ros-env.sh
- [ -f /opt/ros/melodic/setup.bash ] && source /opt/ros/melodic/setup.bash
+ # Use ROS environment variables.
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/melodic/setup.bash ] && source /opt/ros/melodic/setup.bash
- # Create build directory
- [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
- cd ${srcdir}/build
+ # Create the build directory.
+ [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
+ cd ${srcdir}/build
- # Fix Python2/Python3 conflicts
- /usr/share/ros-build-tools/fix-python-scripts.sh -v 3 ${srcdir}/${_dir}
+ # Fix Python2/Python3 conflicts.
+ /usr/share/ros-build-tools/fix-python-scripts.sh -v 3 ${srcdir}/${_dir}
- # Build project
- cmake ${srcdir}/${_dir} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCATKIN_BUILD_BINARY_PACKAGE=ON \
- -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \
- -DPYTHON_EXECUTABLE=/usr/bin/python3 \
- -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \
- -DPYTHON_BASENAME=.cpython-37m \
- -DSETUPTOOLS_DEB_LAYOUT=OFF
- make
+ # Build the project.
+ cmake ${srcdir}/${_dir} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \
+ -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \
+ -DPYTHON_BASENAME=.cpython-37m \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
}
package() {
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}/" install
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
}