summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAchmad Fathoni2021-02-21 00:39:27 +0700
committerAchmad Fathoni2021-02-21 00:39:27 +0700
commit7531caa01b7d1d9f803965b231fea0c46d27d557 (patch)
treec2170e59f30e5b9f4304639941e4bfbe77c8c5fb
downloadaur-7531caa01b7d1d9f803965b231fea0c46d27d557.tar.gz
0.5.3
-rw-r--r--.SRCINFO38
-rw-r--r--PKGBUILD74
2 files changed, 112 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..232ef0993a7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,38 @@
+pkgbase = ros-noetic-hector-gazebo-plugins
+ pkgdesc = ROS - hector_gazebo_plugins provides gazebo plugins from Team Hector.
+ pkgver = 0.5.3
+ pkgrel = 1
+ url = https://wiki.ros.org/hector_gazebo_plugins
+ arch = i686
+ arch = x86_64
+ arch = aarch64
+ arch = armv7h
+ arch = armv6h
+ license = BSD
+ makedepends = cmake
+ makedepends = ros-build-tools
+ makedepends = ros-noetic-catkin
+ makedepends = ros-noetic-roscpp
+ makedepends = ros-noetic-gazebo-dev
+ makedepends = ros-noetic-std-msgs
+ makedepends = ros-noetic-std-srvs
+ makedepends = ros-noetic-geometry-msgs
+ makedepends = ros-noetic-nav-msgs
+ makedepends = ros-noetic-tf
+ makedepends = ros-noetic-dynamic-reconfigure
+ makedepends = ros-noetic-message-generation
+ depends = ros-noetic-roscpp
+ depends = ros-noetic-gazebo-ros
+ depends = ros-noetic-std-msgs
+ depends = ros-noetic-std-srvs
+ depends = ros-noetic-geometry-msgs
+ depends = ros-noetic-nav-msgs
+ depends = ros-noetic-tf
+ depends = ros-noetic-dynamic-reconfigure
+ depends = ros-noetic-message-runtime
+ depends = gazebo
+ source = ros-noetic-hector-gazebo-plugins-0.5.3.tar.gz::https://github.com/tu-darmstadt-ros-pkg/hector_gazebo/archive/0.5.3.tar.gz
+ sha256sums = cff34de0bb583a2b468ff7b130b729b79eccda59e481ac3a98bf16df68c8e9b5
+
+pkgname = ros-noetic-hector-gazebo-plugins
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..099cfaf2526
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,74 @@
+# Script generated with import_catkin_packages.py.
+# For more information: https://github.com/bchretien/arch-ros-stacks.
+pkgdesc="ROS - hector_gazebo_plugins provides gazebo plugins from Team Hector."
+url='https://wiki.ros.org/hector_gazebo_plugins'
+
+pkgname='ros-noetic-hector-gazebo-plugins'
+pkgver='0.5.3'
+arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(
+ ros-noetic-catkin
+ ros-noetic-roscpp
+ ros-noetic-gazebo-dev
+ ros-noetic-std-msgs
+ ros-noetic-std-srvs
+ ros-noetic-geometry-msgs
+ ros-noetic-nav-msgs
+ ros-noetic-tf
+ ros-noetic-dynamic-reconfigure
+ ros-noetic-message-generation
+)
+
+makedepends=(
+ cmake
+ ros-build-tools
+ ${ros_makedepends[@]}
+)
+
+ros_depends=(
+ ros-noetic-roscpp
+ ros-noetic-gazebo-ros
+ ros-noetic-std-msgs
+ ros-noetic-std-srvs
+ ros-noetic-geometry-msgs
+ ros-noetic-nav-msgs
+ ros-noetic-tf
+ ros-noetic-dynamic-reconfigure
+ ros-noetic-message-runtime
+)
+
+depends=(
+ ${ros_depends[@]}
+ gazebo
+)
+
+_dir="hector_gazebo-${pkgver}/hector_gazebo_plugins"
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/tu-darmstadt-ros-pkg/hector_gazebo/archive/${pkgver}.tar.gz")
+sha256sums=('cff34de0bb583a2b468ff7b130b729b79eccda59e481ac3a98bf16df68c8e9b5')
+
+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 the build directory.
+ [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
+ cd ${srcdir}/build
+
+ # Build the project.
+ cmake ${srcdir}/${_dir} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}