blob: 536b727dd38829ed95c7e554137457b9cb7be5bc (
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: acxz <akashpatel2008 at yahoo dot com>
pkgname=kimera-rpgo-git
pkgver=r409.19436dc
pkgrel=1
pkgdesc="Robust backend optimization"
arch=('i686' 'x86_64')
url="https://github.com/MIT-SPARK/kimera-rpgo"
license=('BSD')
depends=('gtsam')
makedepends=('cmake' 'boost' 'git')
provides=(kimera-rpgo)
source=("git+https://github.com/MIT-SPARK/kimera-rpgo.git")
sha256sums=('SKIP')
_name=kimera-rpgo
pkgver() {
cd "$_name"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
mkdir -p "${srcdir}/${_name}/build"
cd "${srcdir}/${_name}/build"
cmake .. \
-DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd "${srcdir}/${_name}/build"
make DESTDIR="${pkgdir}/" install
}
|