blob: 5ec03fc3a38a86664c2f3052b23dfc39c172388b (
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
|
# Maintainer: DanielNak <daniel@tee.cat>
# Library package author: Gabriel Nützi <gnuetzi@gmail.com>
_author=gabyx
_pkgname=ApproxMVBB
pkgname=approxmvbb
pkgver=2.1.2
pkgrel=2
pkgdesc="Fast algorithms to compute an approximation of the minimal volume oriented bounding box of a point cloud in 3D."
arch=('any')
url="http://$_author.github.io/$_pkgname/"
license=('MPL')
depends=('eigen')
makedepends=('cmake')
provides=("$pkgname")
conflicts=("$pkgname")
source=("https://github.com/$_author/$_pkgname/archive/v$pkgver.tar.gz")
sha256sums=('301e13a37d5e1e812ff48e53ccca21ee36be79e501d6e9fdd7106a1d72762d42')
build() {
cd "$srcdir/$_pkgname-$pkgver"
(( NJOB=$(nproc)-1 )) || NJOB=1
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package(){
cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
|