summaryrefslogtreecommitdiff
path: root/testing/flann
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-02 18:38:18 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-02 19:45:36 +0100
commit908c4e8a6942428139c52091e2c7bfe893fa951e (patch)
tree1fc8bdd1807d2460854bc8324ed313657fb408b1 /testing/flann
parent22ed754ac9ae080b26e65e2807c799251eaa09e2 (diff)
downloadaports-908c4e8a6942428139c52091e2c7bfe893fa951e.zip
testing/flann: fix url=
Diffstat (limited to 'testing/flann')
-rw-r--r--testing/flann/APKBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/testing/flann/APKBUILD b/testing/flann/APKBUILD
index 07f15aea6f6..174aac1eafb 100644
--- a/testing/flann/APKBUILD
+++ b/testing/flann/APKBUILD
@@ -2,34 +2,29 @@
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=flann
pkgver=1.9.1
-pkgrel=0
+pkgrel=1
pkgdesc="Fast Library for Approximate Nearest Neighbors"
-url="https://www.cs.ubc.ca/research/flann/"
+url="https://github.com/mariusmuja/flann"
arch="all"
license="BSD-3-Clause"
# FLANN tests are broken, test data is invalid
options="!check"
-depends=""
makedepends="cmake"
subpackages="$pkgname-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mariusmuja/$pkgname/archive/$pkgver.tar.gz
- cmake.patch"
-builddir="$srcdir/$pkgname-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://github.com/mariusmuja/flann/archive/$pkgver.tar.gz
+ cmake.patch"
build() {
- cd "$builddir"
-
- mkdir build && cd build
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_SHARED_LIBS=ON
- make
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_SHARED_LIBS=ON
+ make
}
package() {
- cd "$builddir"/build
- make DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
}
sha512sums="0da78bb14111013318160dd3dee1f93eb6ed077b18439fd6496017b62a8a6070cc859cfb3e08dad4c614e48d9dc1da5f7c4a21726ee45896d360506da074a6f7 flann-1.9.1.tar.gz