void-packages/srcpkgs/caribou/template

35 lines
1.2 KiB
Bash

# Template file for 'caribou'
pkgname=caribou
version=0.4.21
revision=2
build_style=gnu-configure
build_helper="gir"
pycompile_module="$pkgname"
configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module"
hostmakedepends="pkg-config intltool gnome-doc-utils python-gobject-devel"
makedepends="vala-devel libxklavier-devel libgee08-devel python-gobject-devel
clutter-devel gtk+3-devel libXtst-devel gir-freedesktop"
depends="python-gobject python-atspi python-dbus gir-freedesktop at-spi2-atk
desktop-file-utils"
short_desc="Alternative to the Gnome On-screen Keyboard"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-only"
homepage="https://wiki.gnome.org/Projects/Caribou"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9c43d9f4bd30f4fea7f780d4e8b14f7589107c52e9cb6bd202bd0d1c2064de55
lib32disabled=yes
caribou-devel_package() {
lib32disabled=yes
depends="libXtst-devel libgee08-devel libxklavier-devel gtk+3-devel
libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/vala
vmove "usr/lib/*.so"
}
}