Created
September 14, 2017 20:28
-
-
Save akhenakh/2dee6221a56ad8b096d623c6d1c2a1cc to your computer and use it in GitHub Desktop.
Arch aruco needed for opentracker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=aruco-git | |
pkgver=2.0.19.5675 | |
pkgrel=1 | |
pkgdesc="Augmented reality library based on OpenCV" | |
arch=('i686' 'x86_64') | |
url="https://www.uco.es/investiga/grupos/ava/node/26" | |
license=('BSD') | |
depends=(opencv) | |
makedepends=(cmake) | |
source=("git+https://github.com/opentrack/aruco.git#commit=567503cf3a1feed334b6eaf95dbcbcdc39952feb") | |
md5sums=('b5a24f87f1cb36256b4d276e5a9bff84') | |
pkgver() { | |
cd aruco | |
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
build() { | |
cd "$pkgname-$pkgver" | |
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . | |
make | |
} | |
package() { | |
cd "$pkgname-$pkgver" | |
make DESTDIR="$pkgdir/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment