summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonçalo Camelo Neves Pereira2019-01-09 19:21:44 +0100
committerGonçalo Camelo Neves Pereira2019-01-09 19:21:44 +0100
commit134cb863292f33db33421815fe8449a7bb73c42f (patch)
tree6db21f8b508fdfae64dea3c98d6101236da83bac
parent629774f59c11a5798a4e5be30d2304400bf8aab9 (diff)
downloadaur-134cb863292f33db33421815fe8449a7bb73c42f.tar.gz
New Version
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD86
2 files changed, 48 insertions, 44 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df394d50696..dfcbcaf55b4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,14 +7,14 @@ pkgbase = ros-melodic-eigen-conversions
license = BSD
makedepends = cmake
makedepends = ros-build-tools
- makedepends = ros-melodic-catkin
makedepends = ros-melodic-orocos-kdl
- makedepends = ros-melodic-geometry-msgs
makedepends = ros-melodic-std-msgs
+ makedepends = ros-melodic-catkin
+ makedepends = ros-melodic-geometry-msgs
makedepends = eigen3
depends = ros-melodic-orocos-kdl
- depends = ros-melodic-geometry-msgs
depends = ros-melodic-std-msgs
+ depends = ros-melodic-geometry-msgs
depends = eigen3
source = ros-melodic-eigen-conversions-1.12.0-0.tar.gz::https://github.com/ros-gbp/geometry-release/archive/release/melodic/eigen_conversions/1.12.0-0.tar.gz
sha256sums = 6485f64dd54db8430e4aacfa15b0d09b575aff8cfcf4ad24f946e090004521ad
diff --git a/PKGBUILD b/PKGBUILD
index 8b6c4f0b174..b3102be50a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
-# 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 - Conversion functions between: - Eigen and KDL - Eigen and geometry_msgs."
url='http://ros.org/wiki/eigen_conversions'
@@ -10,57 +10,61 @@ arch=('any')
pkgrel=1
license=('BSD')
-ros_makedepends=(ros-melodic-catkin
- ros-melodic-orocos-kdl
- ros-melodic-geometry-msgs
- ros-melodic-std-msgs)
-makedepends=('cmake' 'ros-build-tools'
- ${ros_makedepends[@]}
- eigen3)
+ros_makedepends=(
+ ros-melodic-orocos-kdl
+ ros-melodic-std-msgs
+ ros-melodic-catkin
+ ros-melodic-geometry-msgs
+)
-ros_depends=(ros-melodic-orocos-kdl
- ros-melodic-geometry-msgs
- ros-melodic-std-msgs)
-depends=(${ros_depends[@]}
- eigen3)
+makedepends=(
+ 'cmake'
+ 'ros-build-tools'
+ ${ros_makedepends[@]}
+ eigen3
+)
-# Git version (e.g. for debugging)
-# _tag=release/melodic/eigen_conversions/${pkgver}-${_pkgver_patch}
-# _dir=${pkgname}
-# source=("${_dir}"::"git+https://github.com/ros-gbp/geometry-release.git"#tag=${_tag})
-# sha256sums=('SKIP')
+ros_depends=(
+ ros-melodic-orocos-kdl
+ ros-melodic-std-msgs
+ ros-melodic-geometry-msgs
+)
+
+depends=(
+ ${ros_depends[@]}
+ eigen3
+)
-# Tarball version (faster download)
_dir="geometry-release-release-melodic-eigen_conversions-${pkgver}-${_pkgver_patch}"
source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/geometry-release/archive/release/melodic/eigen_conversions/${pkgver}-${_pkgver_patch}.tar.gz")
sha256sums=('6485f64dd54db8430e4aacfa15b0d09b575aff8cfcf4ad24f946e090004521ad')
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
}