void-packages/srcpkgs/girara/template

33 lines
1.0 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.3.4
revision=2
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=51fcda5a50a68fabd461fb4e467a1defd531dafca4f47f6851a9eb56756cb232
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
}
}