# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=keybinder3 _pkgname=keybinder-3.0 pkgver=0.3.2 pkgrel=1 pkgdesc="Library for registering global key bindings, for gtk-based applications. GTK3 version" url="https://github.com/engla/keybinder" arch="all" license="GPL-2.0" makedepends="gtk+3.0-dev python2-dev py-gobject gobject-introspection-dev automake autoconf libtool gnome-common gtk-doc" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/engla/keybinder/archive/$_pkgname-v${pkgver}.tar.gz" builddir="$srcdir/keybinder-${_pkgname}-v$pkgver" prepare() { default_prepare cd "$builddir" ./autogen.sh } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-shared \ --disable-static \ --enable-gtk-doc make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="97311959c10d6d4ebf7e36076b255d7ae969835d43c3fc01c90edf045b59c8f67845b526d84a447b4053962f6830535d748e96432bbcc6e3cc7fa3d2f1493304 keybinder-3.0-v0.3.2.tar.gz"