summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpixl2020-07-15 14:38:59 -0400
committerpixl2020-07-15 14:38:59 -0400
commit77ce9d28f13971c43d6722b118459c8254ae1166 (patch)
treec0e5eba5b397361ff2375745a26756e97317b57e
downloadaur-77ce9d28f13971c43d6722b118459c8254ae1166.tar.gz
Initial commit, v0.2
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD33
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c57e7c814e3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = logiops
+ pkgdesc = An unofficial driver for Logitech HID++>2.0 mice and keyboard
+ pkgver = 0.2
+ pkgrel = 1
+ url = https://github.com/PixlOne/logiops
+ arch = x86_64
+ arch = i686
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ arch = aarch64
+ license = GPL3
+ makedepends = cmake
+ depends = libevdev
+ depends = systemd-libs
+ depends = libconfig
+ depends = libudev.so
+ provides = logiops
+ conflicts = logiops
+ source = https://github.com/PixlOne/logiops/archive/v0.2.tar.gz
+ sha256sums = 451992fc0afb695dcac9c26f97dc35f47069d9f77917366ea95d801efff73234
+
+pkgname = logiops
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..37e3b5330b4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: PixlOne <pixlone@pm.me>
+
+pkgname=logiops
+_pkgname="logiops"
+_gitpkgname="logiops"
+pkgver=0.2
+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=('451992fc0afb695dcac9c26f97dc35f47069d9f77917366ea95d801efff73234')
+
+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"
+}