# Template file for 'libunicode' pkgname=libunicode version=0.4.0 revision=1 _ucd_version=15.0.0 build_style=cmake build_helper="qemu" configure_args="-DLIBUNICODE_TESTING=OFF" hostmakedepends="python3" makedepends="fmt-devel" short_desc="Modern C++17 Unicode library" maintainer="0x5c " license="Apache-2.0" homepage="https://github.com/contour-terminal/libunicode" changelog="https://github.com/contour-terminal/libunicode/raw/master/Changelog.md" distfiles="https://github.com/contour-terminal/libunicode/archive/refs/tags/v${version}.tar.gz https://www.unicode.org/Public/${_ucd_version}/ucd/UCD.zip>ucd-${_ucd_version}.zip" checksum="a5c8ba2cd3df539985bfafe43f812de143a56f01e4074e95831a37a13606beda 5fbde400f3e687d25cc9b0a8d30d7619e76cb2f4c3e85ba9df8ec1312cb6718c" skip_extraction="ucd-${_ucd_version}.zip" if [ "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then broken="32bit architectures not currently supported, problems with SIMD" fi post_extract() { vsrccopy "ucd-${_ucd_version}.zip" _ucd } libunicode-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.so" vmove usr/lib/cmake } }