# Maintainer: PixlOne pkgname=logiops _pkgname="logiops" _gitpkgname="logiops" pkgver=0.2.3 pkgrel=1 pkgdesc="An unofficial driver for Logitech HID++>2.0 mice and keyboard" arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/PixlOne/$_gitpkgname" license=('GPL3') depends=('libevdev' 'systemd-libs' 'libconfig' 'libudev.so') makedepends=('cmake') conflicts=("${_pkgname-*}") provides=("${_pkgname-*}") source=("https://github.com/PixlOne/$_gitpkgname/archive/v$pkgver.tar.gz") sha256sums=('45147cacc5e75d461fa53e6f391aa6994cc724a422d1a8f8943e50186854f88f') build() { cd "$_gitpkgname-$pkgver" mkdir -p build cd build rm -rf * cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "$_gitpkgname-$pkgver/build" make install DESTDIR="$pkgdir" }