void-packages/srcpkgs/girara/template

33 lines
1.0 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.3.6
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=494518fafc4a34b134572470c56d57c95dc54067dc164fad51786a922676e62a
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
}
}