New package: frozen-1.1.1

This commit is contained in:
Đoàn Trần Công Danh 2023-08-22 08:30:56 +07:00
parent 38fb0674af
commit bc9c0b5845
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- a/tests/test_unordered_set.cpp
+++ b/tests/test_unordered_set.cpp
@@ -65,8 +65,8 @@ TEST_CASE("tripleton str frozen unordere
constexpr auto max_size = ze_set.max_size();
REQUIRE(max_size == 3);
- constexpr auto nocount = ze_set.count(4);
+ auto nocount = ze_set.count(4);
REQUIRE(nocount == 0);
constexpr auto count = ze_set.count(1);
REQUIRE(count == 1);

13
srcpkgs/frozen/template Normal file
View File

@ -0,0 +1,13 @@
# Template file for 'frozen'
pkgname=frozen
version=1.1.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=ON"
short_desc="Header-only, constexpr alternative to gperf for C++14 users"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/serge-sans-paille/frozen"
distfiles="https://github.com/serge-sans-paille/frozen/archive/refs/tags/${version}.tar.gz"
distfiles="https://dev-www.libreoffice.org/src/frozen-${version}.tar.gz"
checksum=f7c7075750e8fceeac081e9ef01944f221b36d9725beac8681cbd2838d26be45