void-packages/srcpkgs/girara/template

33 lines
1.0 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.3.7
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=77132e9bd652f1c9e4260de046768ea449a7d977c4cd3d6d817d2d72b6f946e0
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
}
}