summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorpixl2020-07-15 14:38:59 -0400
committerpixl2020-07-15 14:38:59 -0400
commit77ce9d28f13971c43d6722b118459c8254ae1166 (patch)
treec0e5eba5b397361ff2375745a26756e97317b57e /PKGBUILD
downloadaur-77ce9d28f13971c43d6722b118459c8254ae1166.tar.gz
Initial commit, v0.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
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"
+}