32 lines
928 B
Bash
32 lines
928 B
Bash
# Template file for 'amtk'
|
|
pkgname=amtk
|
|
version=5.0.2
|
|
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://wiki.gnome.org/Projects/Amtk"
|
|
distfiles="${GNOME_SITE}/amtk/${version%.*}/amtk-${version}.tar.xz"
|
|
checksum=71cc891fbaaa3d0cb87eeef9a2f7e1a2acab62f738d09ea922fb4b9ea2f84f86
|
|
|
|
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"
|
|
}
|
|
}
|