Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#59347 - [range-v3] CMake config files not installed
Attached to Project:
Community Packages
Opened by Filip Matzner (floop) - Sunday, 15 July 2018, 20:34 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 29 July 2018, 14:53 GMT
Opened by Filip Matzner (floop) - Sunday, 15 July 2018, 20:34 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 29 July 2018, 14:53 GMT
|
DetailsCurrently, this package simply copies the header files into /usr/include. Unfortunately, the corresponding CMake config files are therefore not installed and range-v3 cannot be checked by external projects using CMake directive find_package(range-v3).
The following PKGBUILD installs range-v3 using the official CMake instructions, in case you are interested. I am not sure about the `gcc` dependency. pkgname=range-v3 pkgver=0.3.6 pkgrel=1 pkgdesc="Experimental range library for C++11/14/17" arch=('any') url='https://github.com/ericniebler/range-v3' license=('custom') makedepends=('cmake' 'gcc') source=("https://github.com/ericniebler/range-v3/archive/${pkgver}.tar.gz") sha512sums=('218cb179023980a3c13678da24638a10030e1c957c711117ebdd7d895f6480644b598686bc1a03d0460889ac058c0f6f9b2d9fcafaae0588a6e2cc1752be1db0') prepare() { cd "${srcdir}/range-v3-${pkgver}" rm -rf build && mkdir build } build() { cd "${srcdir}/range-v3-${pkgver}" cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DRANGE_V3_TESTS=OFF \ -DRANGE_V3_HEADER_CHECKS=OFF \ -DRANGE_V3_EXAMPLES=OFF \ -DRANGE_V3_PERF=OFF make } package() { cd "${srcdir}/range-v3-${pkgver}" install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" cd build make DESTDIR="${pkgdir}/" install } |
This task depends upon
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/arrayfire