APP=keybinder
VERSION=0.3.1
BUILD=2sml
HOMEPAGE="https://github.com/kupferlauncher/keybinder"
DOWNLOAD="https://github.com/kupferlauncher/keybinder/archive/refs/tags/v0.3.1.tar.gz"
DESC="Library for registering global keyboard shortcuts"
REQUIRES="gobject-introspection gtk2"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --disable-python \
    --disable-lua \
    --disable-gtk-doc \
    --disable-gtk-doc-html \
    --disable-gtk-doc-pdf

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
22bb7de7325d233627c2b3e98de03564c389089c6c7f75fd8d661aa8069b58c39caca38f3083b329925189661c1bc547900b9b40dcf166af2bcfcaddc5fc7920  keybinder-0.3.1.tar.lz
"
