# # Touchégg : Multitouch gesture recogniser # # Original Maintainer: Guillaume Turchini " _pkgname=touchegg pkgname=${_pkgname}-git pkgver=2.0.15.r0.ge7577a22fbce pkgrel=1 pkgdesc='Linux multi-touch gesture recognizer' arch=('x86_64') url='https://github.com/JoseExposito/touchegg' license=('GPL3') install="${_pkgname}.install" source=("${_pkgname}::git+https://github.com/JoseExposito/touchegg.git") depends=('cairo' 'gtk3' 'pugixml' 'systemd-libs' 'libinput' 'libx11' 'libxrandr' 'libxtst') makedepends=('cmake' 'git') sha256sums=('SKIP') conflicts=("${_pkgname}") provides=("${_pkgname}=${pkgver}") pkgver() { cd "${_pkgname}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cmake -B build -S "${_pkgname}" -D CMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build }