void-packages/srcpkgs/girara/template

36 lines
1.1 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.4.0
revision=1
build_style=meson
configure_args="$(vopt_feature notify notify)"
hostmakedepends="pkg-config intltool doxygen glib-devel"
makedepends="gtk+3-devel $(vopt_if notify libnotify-devel) libglib-devel json-glib-devel"
checkdepends="check-devel xvfb-run"
short_desc="Library implementing a user interface that focuses on minimalism"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="Zlib"
homepage="https://pwmt.org/projects/girara/"
changelog="https://pwmt.org/projects/girara/changelog/${version}/index.html"
distfiles="https://git.pwmt.org/pwmt/girara/-/archive/${version}/girara-${version}.tar.gz"
checksum=24edfa3d493e7d4bbf491bb730d036cfedbd6c34ada1a7cfcd6273e78cffa44c
make_check_pre="xvfb-run"
build_options="notify"
build_options_default="notify"
post_install() {
vlicense LICENSE
}
girara-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel json-c-devel
libglib-devel pango-devel $(vopt_if notify libnotify-devel) json-glib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}