# Maintainer: Francisco Lopes pkgname=interception-xswitch pkgver=0.1.5 pkgrel=1 pkgdesc='xswitch: an Interception Tools tool to redirect stdin to a muxer if a X window matches' arch=('x86_64') license=('MIT') url='https://gitlab.com/interception/linux/plugins/xswitch' depends=('interception-tools' 'glibc' 'libx11' 'libxmu') makedepends=('boost' 'cmake' 'gcc') source=("$pkgname.tar.gz::https://gitlab.com/interception/linux/plugins/xswitch/repository/archive.tar.gz?ref=v${pkgver}") sha256sums=('4ac3b13c9136af8ea9cca6a145b1e6cdc364985b6b62b2410caa6812d24f3c89') build() { cd ${srcdir}/xswitch-v${pkgver}-* cmake -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release cmake --build build } package() { cd ${srcdir}/xswitch-v${pkgver}-*/build make DESTDIR="$pkgdir/" install }