void-packages/srcpkgs/amtk/template

34 lines
958 B
Bash
Raw Normal View History

2018-09-09 04:29:02 +00:00
# Template file for 'amtk'
pkgname=amtk
version=5.0.0
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection)"
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
makedepends="gtk+3-devel libglib-devel"
short_desc="Actions, Menus and Toolbars Kit for GTK+ applications"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Amtk"
distfiles="${GNOME_SITE}/amtk/${version%.*}/amtk-${version}.tar.xz"
checksum=12a996978a30b7b69a810ac0c5656d5cf2f58d9787b98a0c028ff1b64e8f31ff
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
amtk-devel_package() {
depends="amtk-${version}_${revision}"
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"
}
}