aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/flann/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/flann/APKBUILD b/testing/flann/APKBUILD
index c57799b235..74f33c5a27 100644
--- a/testing/flann/APKBUILD
+++ b/testing/flann/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=flann
pkgver=1.9.1
-pkgrel=2
+pkgrel=3
pkgdesc="Fast Library for Approximate Nearest Neighbors"
url="https://github.com/mariusmuja/flann"
arch="all"
@@ -10,7 +10,7 @@ license="BSD-3-Clause"
# FLANN tests are broken, test data is invalid
options="!check"
makedepends="cmake"
-subpackages="$pkgname-dev"
+subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/mariusmuja/flann/archive/$pkgver.tar.gz
cmake.patch"
@@ -25,6 +25,9 @@ build() {
package() {
make -C build DESTDIR="$pkgdir" install
+
+ # Install license files
+ install -Dm644 "$builddir"/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="0da78bb14111013318160dd3dee1f93eb6ed077b18439fd6496017b62a8a6070cc859cfb3e08dad4c614e48d9dc1da5f7c4a21726ee45896d360506da074a6f7 flann-1.9.1.tar.gz