void-packages/srcpkgs/girara/template

32 lines
1013 B
Bash

# Template file for 'girara'
pkgname=girara
version=0.4.4
revision=1
build_style=meson
hostmakedepends="pkg-config intltool doxygen glib-devel"
makedepends="gtk+3-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://pwmt.org/projects/girara/download/girara-${version}.tar.xz"
checksum=a321079b3cda000d16d978e8609fb631381f54d7596e7218aaba05c6f4b8bac1
make_check_pre="xvfb-run"
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
}
}