# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=libmatekbd pkgver=1.22.0 pkgrel=0 pkgdesc="MATE keyboard library" url="https://github.com/mate-desktop/libmatekbd" arch="all" license="LGPL-2.1-or-later" depends="mate-common freetype" makedepends="libxklavier-dev libtool intltool gtk+3.0-dev" subpackages="$pkgname-dev $pkgname-lang" source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz install-sh.patch" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --enable-static=no \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="79f19455bb6c0df5a50e445907ac12d6bd92a54cd086e0303890bc67350de3d94b2fd665efdaec85f84a42d76af430ad0a1b9639da078179ac25d27c4a325281 libmatekbd-1.22.0.tar.xz 2220612dcda2f992ce6e7d8225c3d012497ff297921c24d40853553783c6b0f95c8e25ab0ad3454931e6e104a9951892972c045e4b9e2672cbbe34cd5a0936f3 install-sh.patch"