35 lines
959 B
Bash
35 lines
959 B
Bash
# Template build file for 'atk'.
|
|
pkgname=atk
|
|
version=2.28.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="libglib-devel"
|
|
short_desc="Set of interfaces for accessibility"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.gtk.org/"
|
|
license="LGPL-2.1-or-later"
|
|
distfiles="${GNOME_SITE}/atk/${version%.*}/atk-${version}.tar.xz"
|
|
checksum=cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
atk-devel_package() {
|
|
depends="${makedepends} atk>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove "usr/share/gir-*"
|
|
fi
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|