39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'amtk'
|
|
pkgname=amtk
|
|
version=5.6.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir gobject_introspection) $(vopt_bool gtk_doc)"
|
|
hostmakedepends="pkg-config glib-devel gettext $(vopt_if gtk_doc gtk-doc)"
|
|
makedepends="gtk+3-devel libglib-devel"
|
|
short_desc="Actions, Menus and Toolbars Kit for GTK+ applications"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://gitlab.gnome.org/World/amtk"
|
|
distfiles="${GNOME_SITE}/amtk/${version%.*}/amtk-${version}.tar.xz"
|
|
checksum=d50115b85c872aac296934b5ee726a3fa156c6f5ad96d27e0edd0aa5ad173228
|
|
|
|
build_options="gir gtk_doc"
|
|
build_options_default="gir"
|
|
|
|
if ! [ "$CROSS_BUILD" ]; then
|
|
build_options_default+=" gtk_doc"
|
|
fi
|
|
|
|
amtk-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel libglib-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gtk_doc" ]; then
|
|
vmove usr/share/gtk-doc
|
|
fi
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|