void-packages/srcpkgs/text-engine/template

32 lines
897 B
Bash

# Template file for 'text-engine'
pkgname=text-engine
version=0.1.1
revision=1
build_style=meson
hostmakedepends="pkg-config glib-devel"
makedepends="libadwaita-devel"
short_desc="Lightweight rich text framework for GTK"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/mjakeman/text-engine"
distfiles="https://github.com/mjakeman/text-engine/archive/v${version}.tar.gz"
checksum=cf540d2c0150a46e8ec81c4532550357707c5d07b6116dc52e3869b1902f515f
text-engine-devel_package() {
depends="gtk4-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
}
}
text-engine-demo_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - demonstration application"
pkg_install() {
vmove usr/bin/text-engine-demo
}
}