summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwhendy2019-09-15 14:57:15 -0500
committerjwhendy2019-09-17 22:19:39 -0500
commit32e46f5176df12018037fac3872d20f0689895d3 (patch)
treeeced27ae8bacd9855f9846a3bdd4c6296bd6fa06
parent23625cfcb50d4fab428d6f75bc0f3affe6cde1fc (diff)
downloadaur-32e46f5176df12018037fac3872d20f0689895d3.tar.gz
updated _dir, sources, and shasums
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD18
2 files changed, 12 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1bac51eae77..4eadecbffd2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros-melodic-socketcan-interface
pkgdesc = Generic CAN interface description with helpers for filtering and driver implementation. Further a socketcan implementation based on boost::asio is included.
- pkgver = 0.8.0
- pkgrel = 2
+ pkgver = 0.8.1
+ pkgrel = 1
url = http://wiki.ros.org/socketcan_interface?distro=melodic
arch = any
license = LGPL3
@@ -10,8 +10,8 @@ pkgbase = ros-melodic-socketcan-interface
depends = boost
depends = linux-headers
depends = ros-melodic-class-loader
- 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-interface-0.8.1.tar.gz::https://github.com/ros-industrial/ros_canopen/archive/0.8.1.tar.gz
+ sha256sums = aa75077452abea1848405906c989eca2e539943c2d1cc1e6f1d72f8facc74390
pkgname = ros-melodic-socketcan-interface
diff --git a/PKGBUILD b/PKGBUILD
index 00acb6c23f8..6e6aa1a6b16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,14 @@
# Contributor: michaelchou <michaeljchou at the hotmail domain which is .com>
pkgname=ros-melodic-socketcan-interface
-_pkgname=socketcan_interface
pkgdesc='Generic CAN interface description with helpers for filtering and driver implementation. Further a socketcan implementation based on boost::asio is included.'
-url="http://wiki.ros.org/${_pkgname}?distro=melodic"
+url="http://wiki.ros.org/socketcan_interface?distro=melodic"
-pkgver=0.8.0
-pkgrel=2
+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[@]})
@@ -25,6 +19,10 @@ ros_depends=(
)
depends=(boost linux-headers ${ros_depends[@]})
+_dir="ros_canopen-${pkgver}/socketcan_interface"
+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
@@ -38,7 +36,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 \