void-packages/srcpkgs/girara/template
2019-11-24 10:55:13 +01:00

32 lines
1 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.3.3
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://git.pwmt.org/pwmt/${pkgname}/-/archive/${version}/${pkgname}-${version}.tar.gz"
checksum=4456ddd6f0420fa6f1677a4a8f438f0401c38c2521585db3ee42e339a730798f
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
}
}