blob: 84c4173754f66ea26831c7d934ab61ac16ceac59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Johannes Wienke <languitar@semipol.de>
pkgname='rsb-proto-stable-git'
pkgver=0.16.0.2c8b5df
pkgrel=1
pkgdesc='Robotics Service Bus Communication Protocol'
arch=(any)
url='https://projects.cor-lab.org/projects/rsb'
license=('LGPL3')
depends=()
makedepends=('git' 'cmake' 'rsc-stable-git')
source=("rsb-proto::git+https://code.cor-lab.org/git/rsb.git.protocol#branch=0.16")
md5sums=('SKIP')
conflicts=('rsb-proto')
provides=('rsb-proto')
pkgver() {
cd "${srcdir}/rsb-proto"
printf "%s" "$(git describe --long | sed 's/release-//;s/\([^-]*-\)g/\1/;s/-/./g')"
}
build() {
cd "${srcdir}/rsb-proto"
rm -rf build
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${srcdir}/rsb-proto/build"
make DESTDIR="${pkgdir}/" install
}
|