From ee72356e6315906d58d7a5a60e44421adfc4d91e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 5 Mar 2026 14:27:59 -0400 Subject: [PATCH] Add makima-bin so we can remap the copilot key to the omarchy menu --- build/packages/edge.packages | 1 + pkgbuilds/edge/makima-bin/.SRCINFO | 13 +++++++++ pkgbuilds/edge/makima-bin/PKGBUILD | 42 ++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 pkgbuilds/edge/makima-bin/.SRCINFO create mode 100644 pkgbuilds/edge/makima-bin/PKGBUILD diff --git a/build/packages/edge.packages b/build/packages/edge.packages index 8f340f0..f7225df 100644 --- a/build/packages/edge.packages +++ b/build/packages/edge.packages @@ -21,6 +21,7 @@ gpu-screen-recorder limine-mkinitcpio-hook limine-snapper-sync macbook12-spi-driver-dkms +makima-bin pinta python-terminaltexteffects ttf-ia-writer diff --git a/pkgbuilds/edge/makima-bin/.SRCINFO b/pkgbuilds/edge/makima-bin/.SRCINFO new file mode 100644 index 0000000..a02249a --- /dev/null +++ b/pkgbuilds/edge/makima-bin/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = makima-bin + pkgdesc = Linux daemon to remap and create macros for keyboards, mice and controllers. + pkgver = 0.10.2 + pkgrel = 1 + url = https://github.com/cyber-sushi/makima + arch = x86_64 + license = GPL-3.0-or-later + provides = makima + conflicts = makima + source = https://github.com/cyber-sushi/makima/releases/download/v0.10.2/makima + sha256sums = ad8255f44a8a619f7d300bbf81463b61e3e6e7af37697fac8d53f6c7f937edaf + +pkgname = makima-bin diff --git a/pkgbuilds/edge/makima-bin/PKGBUILD b/pkgbuilds/edge/makima-bin/PKGBUILD new file mode 100644 index 0000000..6bca19c --- /dev/null +++ b/pkgbuilds/edge/makima-bin/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: TobiWan54 + +pkgname=makima-bin +_name=${pkgname%-bin} +pkgver=0.10.2 +pkgrel=1 +pkgdesc='Linux daemon to remap and create macros for keyboards, mice and controllers.' +arch=('x86_64') +url='https://github.com/cyber-sushi/makima' +license=('GPL-3.0-or-later') +provides=("$_name") +conflicts=("$_name") +source=("https://github.com/cyber-sushi/makima/releases/download/v${pkgver}/makima") +sha256sums=('ad8255f44a8a619f7d300bbf81463b61e3e6e7af37697fac8d53f6c7f937edaf') + +package() { + install -Dm755 makima "$pkgdir/usr/bin/makima" + + mkdir -p "$pkgdir/etc/udev/rules.d" + echo 'SUBSYSTEM=="misc", KERNEL=="uinput", MODE="0660", GROUP="input", TAG+="uaccess"' > "$pkgdir/etc/udev/rules.d/50-makima.rules" + + mkdir -p "$pkgdir/etc/modules-load.d" + echo 'uinput' > "$pkgdir/etc/modules-load.d/uinput.conf" + + mkdir -p "$pkgdir/usr/lib/systemd/system" + tee "$pkgdir/usr/lib/systemd/system/makima.service" > /dev/null <