summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Exner2021-06-15 14:22:07 +0200
committerFelix Exner2021-06-15 14:22:07 +0200
commit83d109241ecc509ad645783621c44acd8f8dd315 (patch)
tree7bb2a2d258e302ff8bb563921b6cf4c635a62187
downloadaur-83d109241ecc509ad645783621c44acd8f8dd315.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD60
2 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a0ac0e711dc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = ros-melodic-rosdoc-lite
+ pkgdesc = ROS - This ROS package wraps documentation tools like doxygen, sphinx, and epydoc, making it convenient to generate ROS package documentation.
+ pkgver = 0.2.9
+ pkgrel = 1
+ url = http://wiki.ros.org/rosdoc_lite
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = ros-build-tools
+ makedepends = ros-melodic-catkin
+ depends = ros-melodic-genmsg
+ depends = epydoc
+ depends = python-rospkg
+ depends = python-yaml
+ depends = doxygen
+ depends = python-sphinx
+ depends = python-kitchen
+ depends = python-catkin_pkg
+ source = ros-melodic-rosdoc-lite-0.2.9.tar.gz::https://github.com/ros-infrastructure/rosdoc_lite/archive/refs/tags/0.2.9.tar.gz
+ sha256sums = e53a232dac14c7737a963d8043f080a91b97b122697e15c27e441475ca573e8b
+
+pkgname = ros-melodic-rosdoc-lite
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e2df1df794b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,60 @@
+# Script generated with create_pkgbuild.py
+# For more information: https://github.com/ros-melodic-arch/ros-build-tools-py3
+pkgdesc="ROS - This ROS package wraps documentation tools like doxygen, sphinx, and epydoc, making it convenient to generate ROS package documentation."
+url='http://wiki.ros.org/rosdoc_lite'
+
+pkgname='ros-melodic-rosdoc-lite'
+pkgver='0.2.9'
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-melodic-catkin)
+makedepends=('cmake' 'ros-build-tools'
+ ${ros_makedepends[@]}
+)
+
+ros_depends=(ros-melodic-genmsg)
+depends=(${ros_depends[@]}
+ epydoc
+ python-rospkg
+ python-yaml
+ doxygen
+ python-sphinx
+ python-kitchen
+ python-catkin_pkg)
+
+_dir="rosdoc_lite-${pkgver}/"
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros-infrastructure/rosdoc_lite/archive/refs/tags/${pkgver}.tar.gz")
+sha256sums=('e53a232dac14c7737a963d8043f080a91b97b122697e15c27e441475ca573e8b')
+
+
+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
+
+ # Create 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}
+
+ # 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.9m \
+ -DPYTHON_LIBRARY=/usr/lib/libpython3.9m.so \
+ -DPYTHON_BASENAME=.cpython-39m \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}