void-packages/srcpkgs/libmatekbd/template

38 lines
1.1 KiB
Bash

# Template file for 'libmatekbd'
pkgname=libmatekbd
version=1.24.0
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="mate-common autoconf-archive pkg-config intltool itstool
glib-devel gobject-introspection"
makedepends="libICE-devel gtk+3-devel libxklavier-devel iso-codes"
depends="dconf iso-codes"
short_desc="MATE keyboard library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=4b99809b47583d4e0db6dde39afc2a0e338c8cc2588cbe0126180e9c327f07eb
build_options="gir"
build_options_default="gir"
pre_configure() {
autoreconf -fi
}
libmatekbd-devel_package() {
short_desc+=" - development files"
depends="gtk+3-devel libxklavier-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}