void-packages/srcpkgs/libgnomekbd/template
2019-04-28 01:45:46 +02:00

32 lines
973 B
Bash

# Template file for 'libgnomekbd'
pkgname=libgnomekbd
version=3.26.1
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="libxml2-devel gtk+3-devel libxklavier-devel"
depends="desktop-file-utils"
short_desc="Gnome keyboard configuration library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://gnome.org/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f7ca02631576e9b88aee1b1bae37ac1488b80ee7975f20a97f29e761a7172679
build_options="gir"
build_options_default="gir"
libgnomekbd-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}