summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 83eb97941d89b1cfda0ee0733699a921c93daa78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: PixlOne <pixlone@pm.me>

pkgname=logiops
_pkgname="logiops"
_gitpkgname="logiops"
pkgver=0.3.5
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' 'glib2')
makedepends=('cmake' 'gcc')
conflicts=("${_pkgname-*}")
provides=("${_pkgname-*}")
source=("https://github.com/PixlOne/LogiOps/releases/download/v$pkgver/logiops-v$pkgver.tar.gz")
sha256sums=('559ab01b9d6ba0c5e5eae50f94e764c3c7c26e33024815ac8afd2b89083ae998')

build() {
    cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -B build -S "$pkgname-v$pkgver"
    cmake --build build
}

package() {
    DESTDIR="$pkgdir" cmake --install build
}