void-packages/srcpkgs/amtk/template
2022-01-30 15:52:33 +01:00

32 lines
929 B
Bash

# Template file for 'amtk'
pkgname=amtk
version=5.2.0
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="$(vopt_enable gir introspection)"
hostmakedepends="pkg-config glib-devel"
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/Archive/amtk"
distfiles="${GNOME_SITE}/amtk/${version%.*}/amtk-${version}.tar.xz"
checksum=820545bb4cf87ecebc2c3638d6b6e58b8dbd60a419a9b43cf020124e5dad7078
build_options="gir"
build_options_default="gir"
amtk-devel_package() {
depends="amtk-${version}_${revision} gtk+3-devel libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove "usr/lib/*.so"
}
}