Package Details: console-bridge 0.2.7-7

Git Clone URL: https://aur.archlinux.org/console-bridge.git (read-only)
Package Base: console-bridge
Description: A ROS-independent package for logging that seamlessly pipes into rosconsole/rosout for ROS-dependent packages.
Upstream URL: http://www.ros.org/
Licenses: BSD
Submitter: bchretien
Maintainer: v01d
Last Packager: bchretien
Votes: 4
Popularity: 0.808747
First Submitted: 2014-01-24 11:29
Last Updated: 2015-12-26 17:46

Latest Comments

majorx234 commented on 2016-11-10 15:16

suggestion for a new PKGBUILD version 0.3.2:

# Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
pkgname=console-bridge
pkgver=0.3.2
pkgrel=7
pkgdesc="A ROS-independent package for logging that seamlessly pipes into rosconsole/rosout for
ROS-dependent packages."
arch=('any')
url="http://www.ros.org/"
license=('BSD')
depends=('boost')
makedepends=('cmake')

# Git version (e.g. for debugging)
#_tag=master/${pkgver}-${_pkgver_patch}
_tag=$pkgver
_dir=${pkgname}
source=("${_dir}"::"git+https://github.com/ros/console_bridge.git"#tag=${_tag})
sha256sums=('SKIP')

# source=("https://github.com/ros/console_bridge/archive/${pkgver}.tar.gz")
# sha256sums=('9145f0f97337fc87b4c062a4bab6874e383dad3a303486b635d31af69ee0d536')

build() {
# Create build directory
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build

# Build project
cmake "${srcdir}/console-bridge" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="/usr"
make
}

package() {
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install

# added to solve symlink issue
mv $pkgdir/usr/lib64 $pkgdir/usr/lib
}

majorx234 commented on 2016-11-10 15:13

get problems after building, in installation process:

error: failed to commit transaction (conflicting files)
console-bridge: /usr/lib64 exists in filesystem

solved it with an enhanced package() section:

package() {
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
mv $pkgdir/usr/lib64 $pkgdir/usr/lib
}