Name libunibreak
Description Implementation of the line breaking and word breaking algorithms
Version 6.1-r0
Package Base libunibreak
Homepage https://github.com/adah1972/libunibreak
Maintainers ['Krassy Boykinov <kboykinov@teamcentrixx.com>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/community/libunibreak
Sources ['https://github.com/adah1972/libunibreak/releases/download/libunibreak_${pkgver//./_}/libunibreak-6.1-r0.tar.gz']
Dependencies ['libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies []
Provides ['so:libunibreak.so.6=6.0.1']
Builddate 29-03-2024 12:40:01
Architecture x86_64
Distro-Version v3.22
Licenses ['Zlib']
Hash Q1w+uNY8C9WVSSH4Knyuoir4WqPUY=
# Maintainer: Krassy Boykinov <kboykinov@teamcentrixx.com>
pkgname=libunibreak
pkgver=6.1
pkgrel=0
pkgdesc="Implementation of the line breaking and word breaking algorithms"
url="https://github.com/adah1972/libunibreak"
arch="all"
license="Zlib"
subpackages="$pkgname-dev"
source="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${pkgver//./_}/libunibreak-$pkgver.tar.gz"
options="!check" # no tests

prepare() {
 	default_prepare
	update_config_sub
}

build() {
	CFLAGS="$CFLAGS -O2 -flto=auto" \
	./configure \
		--prefix=/usr \
		--host=$CHOST \
		--build=$CBUILD \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
8ffde29a9b90ddcbfabb61d7302ffe3b17473cd6d30fe1a4403d857e6191291d7e7a6f23bde58654155ed95f4a0f31e082cdf424a82da46722a811291ef38c2f  libunibreak-6.1.tar.gz
"