summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjwhendy2019-09-15 14:57:13 -0500
committerjwhendy2019-09-17 22:22:26 -0500
commited7b3b670c998cf3adf615f71bd0b0d3f939cc5e (patch)
tree3d5e0759a62d537f2eaa6899c5b76a249b78d404 /PKGBUILD
parent48294d09ce017c6e34ad7daff7251318694b01ce (diff)
downloadaur-ros-melodic-socketcan-bridge.tar.gz
updated _dir, sources, and shasums
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81104643133..a4826ac9821 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,14 @@
# Contributor: michaelchou <michaeljchou at the hotmail domain which is .com>
pkgname=ros-melodic-socketcan-bridge
-_pkgname=socketcan_bridge
pkgdesc='Conversion nodes for messages from SocketCAN to a ROS Topic and vice versa.'
-url="http://wiki.ros.org/${_pkgname}?distro=melodic"
+url="http://wiki.ros.org/socketcan_bridge?distro=melodic"
-pkgver=0.8.0
-pkgrel=3
+pkgver='0.8.1'
+pkgrel=1
arch=('any')
license=('LGPL3')
-_parent_pkgname="ros_canopen"
-_dir="ros_canopen-${pkgver}"
-source=("${_parent_pkgname}-${pkgver}.tar.gz::https://github.com/ros-industrial/ros_canopen/archive/${pkgver}.tar.gz")
-sha256sums=('b822d2a70eb273076d7dfde847bd52593d6577503207beb98a43b96855f64250')
-
ros_makedepends=(
)
makedepends=(cmake ros-build-tools ${ros_makedepends[@]})
@@ -27,6 +21,11 @@ ros_depends=(
)
depends=(${ros_depends[@]})
+_dir="ros_canopen-${pkgver}/socketcan_bridge"
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros-industrial/ros_canopen/archive/${pkgver}.tar.gz")
+sha256sums=('aa75077452abea1848405906c989eca2e539943c2d1cc1e6f1d72f8facc74390')
+
+
build() {
# Use ROS environment variables
source /usr/share/ros-build-tools/clear-ros-env.sh
@@ -40,7 +39,7 @@ build() {
/usr/share/ros-build-tools/fix-python-scripts.sh -v 3 ${srcdir}/${_dir}
# Build project
- cmake ${srcdir}/${_dir}/${_pkgname} \
+ cmake ${srcdir}/${_dir} \
-DCMAKE_BUILD_TYPE=Release \
-DCATKIN_BUILD_BINARY_PACKAGE=ON \
-DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \