void-packages/srcpkgs/libutf8proc/template
2025-03-08 19:51:44 +00:00

31 lines
898 B
Bash

# Template file for 'libutf8proc'
pkgname=libutf8proc
version=2.10.0
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
short_desc="C library for processing UTF-8 encoded Unicode strings"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://juliastrings.github.io/utf8proc/"
changelog="https://raw.githubusercontent.com/JuliaStrings/utf8proc/master/NEWS.md"
distfiles="https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v${version}.tar.gz"
checksum=6f4f1b639daa6dca9f80bc5db1233e9cbaa31a67790887106160b33ef743f136
if [ -n "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DUTF8PROC_ENABLE_TESTING=ON"
fi
post_install() {
vlicense LICENSE.md
}
libutf8proc-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}