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:
@@ -45,52 +45,6 @@ __add_to_path: [] # list of paths that should be in PATH
|
||||
__var_to_env: {} # dict of variables to add to your env
|
||||
|
||||
# Per package variables
|
||||
# {{{ air
|
||||
air_version: latest
|
||||
air_install_url: github.com/air-verse/air
|
||||
# }}}
|
||||
# {{{ alacritty
|
||||
alacritty_version: v0.16.1
|
||||
alacritty_git_repo: https://github.com/alacritty/alacritty
|
||||
alacritty_pkgname: alacritty
|
||||
alacritty_cargo_build_flags:
|
||||
- --release
|
||||
# }}}
|
||||
# {{{ ansible
|
||||
ansible_install_methods:
|
||||
- system
|
||||
- source
|
||||
ansible_pkgname:
|
||||
RedHat: ansible
|
||||
Debian: ansible
|
||||
Alpine: ansible
|
||||
Archlinux: ansible
|
||||
ansible_pip_pkgname: ansible
|
||||
# }}}
|
||||
# {{{ ansible_lint
|
||||
ansible_lint_version: latest
|
||||
ansible_lint_install_methods:
|
||||
- system
|
||||
- source
|
||||
ansible_lint_pkgname:
|
||||
RedHat: ansible-lint
|
||||
Debian: ansible-lint
|
||||
Archlinux: ansible-lint
|
||||
Alpine: ansible-lint
|
||||
FreeBSD: py311-ansible-lint
|
||||
pipx: ansible_lint
|
||||
# }}}
|
||||
# {{{ ansible_ls
|
||||
ansible_ls_version: latest
|
||||
ansible_npm_pkg:
|
||||
name: '@ansible/ansible-language-server'
|
||||
global: true
|
||||
# }}}
|
||||
# {{{ bashls
|
||||
bashls_install_methods:
|
||||
- source
|
||||
bashls_npm_pkgname: bash-language-server
|
||||
# }}}
|
||||
# cargo {{{
|
||||
cargo_pkgname: cargo
|
||||
# }}}
|
||||
|
||||
109
vars/pkglist.yml
109
vars/pkglist.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user