void-packages/srcpkgs/girara/template

33 lines
910 B
Bash

# Template file for 'girara'
pkgname=girara
version=0.3.0
revision=1
build_style=meson
# COLOR=0 to avoid "tput not found" spam in the build output
maintainer="lemmi <lemmi@nerd2nerd.org>"
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel libnotify-devel glib-devel json-c-devel"
license="zlib"
homepage="http://pwmt.org/projects/girara/"
short_desc="A library implementing a user interface that focuses on minimalism"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.xz"
checksum=b752fa5ff0a98cfa773bbcf66bb8a5e337a61cbb085d6577b3979178d17e41a2
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel"
fi
post_install() {
vlicense LICENSE
}
girara-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}