# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=libmatekbd pkgver=1.18.2 pkgrel=0 pkgdesc="MATE keyboard library" url="https://github.com/mate-desktop/libmatekbd" arch="all" license="GPL2" depends="mate-common freetype" depends_dev="" makedepends="$depends_dev libxklavier-dev libtool intltool gtk+3.0-dev" install="" subpackages="$pkgname-dev $pkgname-lang" source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } sha512sums="97971fc406fac09e0a652ccb5f811194eeff695a4a8b093b24225230cb64ceebd221d91aab071b0ca7ffd20b1b38e13d428d68fc8249101a3b3f8342fbb1f71e libmatekbd-1.18.2.tar.xz"