diff options
author | Atsushi Watanabe <atsushi.w@ieee.org> | 2020-10-22 14:54:39 +0900 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-12-14 15:23:02 +0000 |
commit | cd9acd344ad69ea47a7e72cc6f8beb445f06c17f (patch) | |
tree | e7977d492ba681346311d77826ced0017ca66b3d /testing/flann | |
parent | 07817cdf0c0163b0b2ddbe09dffdc6e7a86181a7 (diff) | |
download | aports-cd9acd344ad69ea47a7e72cc6f8beb445f06c17f.zip |
testing/flann: add -doc subpackage and install license
Diffstat (limited to 'testing/flann')
-rw-r--r-- | testing/flann/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/flann/APKBUILD b/testing/flann/APKBUILD index c57799b2353..74f33c5a279 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 |