utfcpp: initial commit, version 4.0.5

This commit is contained in:
Tim Biermann 2024-01-28 10:45:16 +01:00
parent f38a4556d5
commit d86bf12293
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 43 additions and 0 deletions

17
utfcpp/.footprint Normal file
View File

@ -0,0 +1,17 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/utf8cpp/
-rw-r--r-- root/root usr/include/utf8cpp/utf8.h
drwxr-xr-x root/root usr/include/utf8cpp/utf8/
-rw-r--r-- root/root usr/include/utf8cpp/utf8/checked.h
-rw-r--r-- root/root usr/include/utf8cpp/utf8/core.h
-rw-r--r-- root/root usr/include/utf8cpp/utf8/cpp11.h
-rw-r--r-- root/root usr/include/utf8cpp/utf8/cpp17.h
-rw-r--r-- root/root usr/include/utf8cpp/utf8/cpp20.h
-rw-r--r-- root/root usr/include/utf8cpp/utf8/unchecked.h
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/utf8cpp/
drwxr-xr-x root/root usr/share/utf8cpp/cmake/
-rw-r--r-- root/root usr/share/utf8cpp/cmake/utf8cppConfig.cmake
-rw-r--r-- root/root usr/share/utf8cpp/cmake/utf8cppConfigVersion.cmake
-rw-r--r-- root/root usr/share/utf8cpp/cmake/utf8cppTargets.cmake

5
utfcpp/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33J0kQ7vZR5bwiMKSdUW8LFFpSjbfyr3V2W3lWHyYj/1W1uhBjvWSdOhJethuaf+URUsz2VYUjGudulQRwQs7QQ=
SHA256 (Pkgfile) = e28d097bae132302396be938371bffda8dbfbf8e2ec2601c6f6a91a3479979ca
SHA256 (.footprint) = 031e43557e47eabffe57a1379a0abe4950f4b530007957a58eda3715ea44ca49
SHA256 (utfcpp-4.0.5.tar.gz) = ffc668a310e77607d393f3c18b32715f223da1eac4c4d6e0579a11df8e6b59cf

21
utfcpp/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: UTF-8 with C++ in a Portable Way
# URL: https://github.com/nemtrif/utfcpp
# Maintainer: Tim Biermann, tbier at posteo dot de
name=utfcpp
version=4.0.5
release=1
source=(https://github.com/nemtrif/utfcpp/archive/refs/tags/v$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}