34 lines
977 B
Bash
34 lines
977 B
Bash
# Template file for 'libgnomekbd'
|
|
pkgname=libgnomekbd
|
|
version=3.22.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection) glib-devel"
|
|
makedepends="libxml2-devel gtk+3-devel libxklavier-devel"
|
|
depends="desktop-file-utils"
|
|
short_desc="Gnome keyboard configuration library"
|
|
homepage="http://gnome.org/"
|
|
license="GPL-2"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=340b30dabfebbd4e0e6c0fe34a378966dd5640b5d44595ab8a19b0be255d77df
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default+=" gir"
|
|
fi
|
|
|
|
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 [ -n "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|