makedepends=(mate-common dconf gtk3 xorg-libxklavier gobject-introspection)
run=(iso-codes)

description="MATE keyboard library"
url="https://mate-desktop.org/"

packager="Grat-OS Team"
maintainer="Grat-OS Team"

name=mate-libkbd
_name=libmatekbd
version=1.28.0

source=(http://pub.mate-desktop.org/releases/${version%.*}/${_name}-$version.tar.xz)

build() {

cd ${_name}-$version

./configure  --prefix=/usr \
             --disable-silent-rules \
             --enable-introspection \
             --disable-static

make

sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

make DESTDIR=$PKG install
}
