summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD19
2 files changed, 13 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 90cc9056664..5e84d1c7e27 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros-melodic-socketcan-bridge
pkgdesc = Conversion nodes for messages from SocketCAN to a ROS Topic and vice versa.
- pkgver = 0.8.0
- pkgrel = 3
+ pkgver = 0.8.1
+ pkgrel = 1
url = http://wiki.ros.org/socketcan_bridge?distro=melodic
arch = any
license = LGPL3
@@ -10,8 +10,8 @@ pkgbase = ros-melodic-socketcan-bridge
depends = ros-melodic-can-msgs
depends = ros-melodic-roscpp
depends = ros-melodic-socketcan-interface
- source = ros_canopen-0.8.0.tar.gz::https://github.com/ros-industrial/ros_canopen/archive/0.8.0.tar.gz
- sha256sums = b822d2a70eb273076d7dfde847bd52593d6577503207beb98a43b96855f64250
+ source = ros-melodic-socketcan-bridge-0.8.1.tar.gz::https://github.com/ros-industrial/ros_canopen/archive/0.8.1.tar.gz
+ sha256sums = aa75077452abea1848405906c989eca2e539943c2d1cc1e6f1d72f8facc74390
pkgname = ros-melodic-socketcan-bridge
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 \