~ruther/qmk_firmware

ref: 56b6b28fe9429224bda9bff74e2e8f587d77e121 qmk_firmware/util/install/arch.sh -rwxr-xr-x 813 bytes
56b6b28f — Duncan Sutherland add `68_ansi` Community Layout to nebula68b (#22433) 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

_qmk_install() {
    echo "Installing dependencies"

    sudo pacman --needed  --noconfirm -S \
        base-devel clang diffutils gcc git unzip wget zip python-pip \
        avr-binutils arm-none-eabi-binutils arm-none-eabi-gcc \
        arm-none-eabi-newlib avrdude dfu-programmer dfu-util \
        riscv64-elf-binutils riscv64-elf-gcc riscv64-elf-newlib
    sudo pacman --needed --noconfirm -U https://archive.archlinux.org/packages/a/avr-gcc/avr-gcc-8.3.0-1-x86_64.pkg.tar.xz
    sudo pacman --needed --noconfirm -S avr-libc # Must be installed after the above, or it will bring in the latest avr-gcc instead

    sudo pacman --needed  --noconfirm -S hidapi  # This will fail if the community repo isn't enabled

    python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
}
Do not follow this link