# Template file for 'inlyne'
pkgname=inlyne
version=0.5.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="fontconfig-devel oniguruma-devel wayland-devel libxkbcommon-devel"
short_desc="GPU-powered, browserless, markdown and HTML viewer"
maintainer="Julian Bigge <j.reedts@gmail.com>"
license="MIT"
homepage="https://github.com/Inlyne-Project/inlyne"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=0473d154469c4f078029c2fdb58dca19b8d415633934773c41930536b54e71e0

post_patch() {
	# fix build with rust 1.94.0
	cargo update --package metrics:0.24.0 --precise 0.24.3
}

post_install() {
	vlicense LICENSE
}
