# Maintainer: PktSurf <smlinux@pktsurf.in>
app=keybinder
version=0.3.1
build=2sml
homepage="https://github.com/kupferlauncher/keybinder"
download="https://github.com/kupferlauncher/keybinder/archive/refs/tags/v$version.tar.gz"
desc="Library for registering global keyboard shortcuts"
requires="gobject-introspection gtk2"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix= \
    --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
"
