# Template file for 'libt3highlight'
pkgname=libt3highlight
version=0.5.0
revision=1
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config gettext"
makedepends="libtool gettext-devel pcre2-devel libt3config-devel"
short_desc="Tilde Terminal Toolkit's library for syntax highlighting"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://os.ghalkes.nl/t3/libt3highlight.html"
distfiles="https://os.ghalkes.nl/dist/libt3highlight-${version}.tar.bz2"
checksum=8216190785e52a116f9f78ec6513815745904c2aaf70d0a0a09438e08640dfbb

export LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool

libt3highlight-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
