void-packages/srcpkgs/libmatekbd/template

35 lines
1.1 KiB
Bash

# Template file for 'libmatekbd'
pkgname=libmatekbd
version=1.28.0
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config gettext itstool glib-devel libxml2
gobject-introspection iso-codes"
makedepends="libICE-devel libglib-devel gtk+3-devel libxklavier-devel iso-codes"
depends="dconf iso-codes"
short_desc="MATE keyboard library"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/libmatekbd/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/libmatekbd-${version}.tar.xz"
checksum=5d2e58483c2b23d33503d24c88f8b90a28cc0189d7e4001b3e273a604f6fe80e
build_options="gir"
build_options_default="gir"
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
}
}