summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbionade242020-02-18 22:30:17 +0100
committerbionade242020-02-18 22:30:17 +0100
commit5a040be14d6b8ee498b7637b65e00cc4294f1542 (patch)
tree1cc1f27233485a9fb0a57579163f4e4cb2185400 /PKGBUILD
parentfb5d0b64368940fc99b6e2f2129fab4438d2faa4 (diff)
downloadaur-ros-melodic-rosbaglive.tar.gz
Updated package version and switch to python3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 3 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ef1043d9dcc..7c6327cc696 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,10 @@
-# Script generated with import_catkin_packages.py
-# For more information: https://github.com/bchretien/arch-ros-stacks
pkgdesc="ROS - Plays rosbags as though they were happening NOW."
url='https://wiki.ros.org/rosbaglive'
pkgname='ros-melodic-rosbaglive'
pkgver='0.2.4'
-_pkgver_patch=0
arch=('any')
-pkgrel=2
+pkgrel=3
license=('BSD')
ros_makedepends=(ros-melodic-rosbag
@@ -20,13 +17,6 @@ ros_depends=(ros-melodic-rosbag
ros-melodic-rospy)
depends=(${ros_depends[@]})
-# Git version (e.g. for debugging)
-# _tag=release/melodic/rosbaglive/${pkgver}-${_pkgver_patch}
-# _dir=${pkgname}
-# source=("${_dir}"::"git+https://github.com/wu-robotics/wu_ros_tools.git"#tag=${_tag})
-# sha256sums=('SKIP')
-
-# Tarball version (faster download)
_dir="wu_ros_tools-${pkgver}/rosbaglive"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/DLu/wu_ros_tools/archive/${pkgver}.tar.gz")
sha256sums=('fd0bb39a69302dae5ccfd565277209719a4199644fc8265a2ae7ccedd92c004a')
@@ -41,17 +31,14 @@ build() {
cd ${srcdir}/build
# Fix Python2/Python3 conflicts
- /usr/share/ros-build-tools/fix-python-scripts.sh -v 2 ${srcdir}/${_dir}
+ /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/python2 \
- -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
- -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
- -DPYTHON_BASENAME=-python2.7 \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DSETUPTOOLS_DEB_LAYOUT=OFF
make
}