void-packages/srcpkgs/girara/template

36 lines
1.1 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.4.1
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=6feb6e567bec9294c734012f459788a4e70567c3491b7c769e2284de4573ec8e
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
}
}