* update fmt to 11.1.3-1

This commit is contained in:
Alexander Baldeck 2025-02-06 10:53:15 +01:00
parent 7e780e2fb7
commit 40ba7e97c4

View File

@ -41,6 +41,7 @@ build() {
cmake -S fmt -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=ON \
-Wno-dev
cmake --build build
@ -58,7 +59,8 @@ package_fmt() {
)
provides=(libfmt.so)
DESTDIR="$pkgdir" cmake --install build --component core
DESTDIR="$pkgdir" cmake --install build
rm -rf "$pkgdir/usr/share/doc"
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" fmt/LICENSE
}