34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# Template file for 'libgnomekbd'
|
|
pkgname=libgnomekbd
|
|
version=3.28.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir introspection)"
|
|
hostmakedepends="pkg-config gettext glib-devel"
|
|
makedepends="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="https://gitlab.gnome.org/GNOME/libgnomekbd"
|
|
changelog="https://gitlab.gnome.org/GNOME/libgnomekbd/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=22dc59566d73c0065350f5a97340e62ecc7b08c4df19183804bb8be24c8fe870
|
|
|
|
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
|
|
}
|
|
}
|