blob: 99b8771e10f9da3819af53aac525d040234f4c45 (
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='rst-proto-stable-git'
pkgver=0.16.2.98a8f7c
pkgrel=1
pkgdesc='Robotics Systems Types library'
arch=('i686' 'x86_64')
url='https://projects.cor-lab.org/projects/rst'
license=('LGPL3')
depends=('protobuf' 'python2' 'python2-protobuf' 'apache-ant' 'protobuf-java')
makedepends=('git' 'cmake' 'rsc-stable-git')
source=("rst-proto::git+https://code.cor-lab.org/git/rst.git.proto#branch=0.16")
md5sums=('SKIP')
conflicts=('rst-proto')
provides=('rst-proto')
pkgver() {
cd "${srcdir}/rst-proto"
printf "%s" "$(git describe --long | sed 's/release-//;s/\([^-]*-\)g/\1/;s/-/./g')"
}
build() {
cd "${srcdir}/rst-proto"
rm -rf build
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${srcdir}/rst-proto/build"
make DESTDIR="${pkgdir}/" install
}
|