void-packages/srcpkgs/girara/template

36 lines
1.1 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.3.9
revision=1
build_style=meson
configure_args="-Dnotify=$(vopt_if notify enabled disabled)"
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=0e8a98ca447f375ec11d0f741a82ef01896e437a1d58fc141914da70de818965
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)"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}