1 # Maintainer: David Runge <dvzrv@archlinux.org>
7 pkgdesc="An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20"
9 url="https://github.com/gulrak/filesystem"
12 source=($url/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha512sums=('6eae921485ecdaf4b8329a568b1f4f612ee491fc5fdeafce9c8000b9bf1a73b6fa4e07d0d4ddf05be49efe79e9bddfbcc0aba85529cb016668797a8d89eb9b82')
14 b2sums=('9734907da65e0f390e461d76c7b1c7e8ffa1a0f7f01e5952d69d9d6b6cc3c85e20f5e4495235f2589635fb665040bf2ee4def4d3bdcb0f3453a00ee8c4e8ac3f')
20 -DCMAKE_BUILD_TYPE=None
21 -DCMAKE_INSTALL_PREFIX=/usr
24 cmake "${cmake_options[@]}"
29 ctest --output-on-failure --test-dir build/test
33 DESTDIR="$pkgdir" cmake --install build
34 install -vDm 644 $_name-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
35 install -vDm 644 $_name-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"