void-packages/srcpkgs/girara/template
2018-03-19 15:11:10 +01:00

32 lines
910 B
Bash

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