# Maintainer: Stefano Marsili pkgname=stmm-input-bt pkgver=0.6 pkgrel=1 pkgdesc="Device input event library - keyboards over bluetooth" url='https://www.efanomars.com/libraries/stmm-input-bt' arch=('x86_64') license=('GPL3','LGPL3') depends=('stmm-input' 'bluez' 'gtkmm' 'dconf') makedepends=('cmake' 'gcc' 'doxygen' 'graphviz' 'python') optdepends=() #provides=("stmm-input-bt") #replaces=("stmm-input-bt") #conflicts=("stmm-input-bt") source=('git+https://gitlab.com/efanomars/stmm-input-bt.git#commit=e426fd2610acf8a007f4197dea30de5305a5885d') sha512sums=('SKIP') build() { cd "${srcdir}/stmm-input-bt" ./scripts/install_stmm-input-bt-all.py -b=Release -s=Off -t=Off -d=Off --installdir="/usr" --no-install --no-compile-schemas --no-sudo } package() { cd "${srcdir}/stmm-input-bt" ./scripts/priv/dd_install_stmm-input-bt-all.py -b=Release -s=Off -t=Off -d=Off --installdir="/usr" --destdir="${pkgdir}" --no-configure --no-make --no-compile-schemas --no-sudo } post_install() { glib-compile-schemas "/usr/share/glib-2.0/schemas" } post_upgrade() { glib-compile-schemas "/usr/share/glib-2.0/schemas" } post_remove() { glib-compile-schemas "/usr/share/glib-2.0/schemas" }