35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'garcon'
|
|
pkgname=garcon
|
|
version=0.8.0
|
|
revision=3
|
|
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"
|
|
conf_files="/etc/xdg/menus/xfce-applications.menu"
|
|
short_desc="Glib/GIO freedesktop.org compliant menu implementation"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://xfce.org/"
|
|
distfiles="https://archive.xfce.org/src/xfce/garcon/${version%.*}/${pkgname}-${version}.tar.bz2"
|
|
checksum=4811d89ee5bc48dbdeffd69fc3eec6c112bbf01fde98a9e848335b374a4aa1bb
|
|
|
|
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
|
|
}
|
|
}
|