start developing module for go_install

not going to be used for a long time
Making pkg tasks truly single file
This commit is contained in:
Matthew Stobbs
2026-03-03 21:35:46 -07:00
parent 065031b77f
commit 692e9dd99a
28 changed files with 417 additions and 537 deletions

View File

@@ -5,114 +5,29 @@
## Restrictions for package install methods.
## The first item is the default method. If only
## one method exists, all others are ignored.
air: # {{{
bat: # {{{
install_methods:
- source
install_files:
- to: bin/air
pkg_deps:
- go
# }}}
alacritty: # {{{
install_methods:
- source
- system
install_files:
source_dir: alacritty
files:
- from: target/release/alacritty
to: bin/alacritty
mode: '0755'
- from: extra/logo/alacritty-term.svg
to: share/pixmaps/Alacritty.svg
mode: '0644'
- from: extra/linux/Alacritty.desktop
to: share/applications/Alacritty.desktop
mode: '0644'
pkg_deps:
- git
- cargo
build_deps:
RedHat:
- cmake
- fontconfig-devel
- freetype-devel
- g++
- libxcb-devel
- libxkbcommon-devel
- desktop-file-utils
Debian:
- cmake
- g++
- pkg-config
- libfontconfig1-dev
- libxcb-xfixes0-dev
- libxkbcommon-dev
- python3
- libfreetype6-dev
- desktop-file-utils
Alpine:
- cmake
- pkgconf
- freetype-dev
- fontconfig-dev
- python3
- libxcb-dev
- g++
- libxkbcommon-dev
- desktop-file-utils
Archlinux:
- cmake
- freetype2
- fontconfig
- pkg-config
- make
- libxcb
- libxkbcommon
- python
- desktop-file-utils
FreeBSD:
- cmake
- freetype2
- fontconfig
- pkgconf
- python3
- desktop-file-utils
pkgname:
RedHat: bat
Debian: bat
Archlinux: bat
Alpine: bat
Darwin: bat
FreeBSD: bat
# }}}
ansible_lint: # {{{
cargo: # {{{
install_methods:
- pipx
- system
# }}}
ansible:
cmake: # {{{
install_methods:
- system
ansible_ls:
install_methods:
- source
- system
npm_pkg:
name: '@ansible/ansible-language-server'
global: true
pkg_deps:
- nodejs
# {{{ bashls
bashls:
install_methods:
- source
npm_pkg:
name: bash-language-server
global: true
# }}}
cargo:
install_methods:
- system
cmake:
install_methods:
- system
direnv:
direnv: # {{{
install_methods:
- system
# }}}
eza:
install_methods:
- source