void-packages/srcpkgs/garcon/template

36 lines
1.2 KiB
Bash

# Template file for 'garcon'
pkgname=garcon
version=4.18.0
revision=1
build_style=gnu-configure
build_helper=gir
configure_args="--disable-static --with-locales-dir=/usr/share/locale
--enable-introspection=$(vopt_if gir yes no)"
hostmakedepends="pkg-config intltool gettext-devel glib-devel"
makedepends="libglib-devel libxfce4ui-devel libxfce4util-devel gtk+3-devel"
conf_files="/etc/xdg/menus/xfce-applications.menu"
short_desc="Glib/GIO freedesktop.org compliant menu implementation"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.0-or-later"
homepage="https://xfce.org/"
changelog="https://gitlab.xfce.org/xfce/garcon/-/raw/master/NEWS"
distfiles="https://archive.xfce.org/src/xfce/garcon/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=54633487566a8b8502b71c11a7f719efe27c069bd5773cc95f11ff4ea8f11a14
build_options="gir"
build_options_default="gir"
garcon-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libxfce4ui-devel gtk+3-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}