void-packages/srcpkgs/girara/template

33 lines
1.0 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.3.5
revision=1
build_style=meson
configure_args="$(vopt_if notify -Dnotify=enabled -Dnotify=disabled) -Dtests=disabled"
hostmakedepends="pkg-config intltool doxygen glib-devel"
makedepends="gtk+3-devel $(vopt_if notify libnotify-devel) libglib-devel json-c-devel"
short_desc="Library implementing a user interface that focuses on minimalism"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="Zlib"
homepage="https://pwmt.org/projects/girara/"
distfiles="https://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.xz"
checksum=e33ba2a21dd57606439d37c829d48466a14e3e50a698e6bd678b511f5c59f4b5
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
}
}