summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8861e5c2c91f8aa81c881610a6e706084736419f (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
# Maintainer: acxz <akashpatel2008 at yahoo dot com>

pkgname=kimera-vio
pkgver=5.0
pkgrel=3
pkgdesc="Visual Inertial Odometry pipeline for accurate State Estimation from
Stereo/Mono + IMU data"
arch=('i686' 'x86_64')
url="https://github.com/MIT-SPARK/kimera-vio"
license=('BSD')
depends=('gtsam' 'opencv' 'opengv' 'boost' 'dbow2' 'google-glog' 'gflags'
         'gtest' 'kimera-rpgo')
optdepends=()
makedepends=('cmake')
_pkgname="Kimera-VIO"
source=(https://github.com/MIT-SPARK/${pkgname}/archive/v${pkgver}.tar.gz)
sha256sums=('6c9af01a6bd84018aab746c2ad120fede3efe391a77b118716ca9e47775e351b')

build() {
    mkdir -p "${srcdir}/${_pkgname}-${pkgver}/build"
    cd "${srcdir}/${_pkgname}-${pkgver}/build"

    cmake .. \
        -DBUILD_TESTS=OFF \
        -DCMAKE_INSTALL_PREFIX="/usr"

    make
}

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