New way to install packages!
Probably the fourth I ever created? Will this one last? I don't know! Doesn't have pip support for now, but probably something requirements.txt based will be a bit more proper
This commit is contained in:
parent
ccc330d795
commit
59aaf63d4a
5 changed files with 108 additions and 77 deletions
14
config/automatrop/roles/software/templates/PKGBUILD.j2
Normal file
14
config/automatrop/roles/software/templates/PKGBUILD.j2
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Maintainer: Geoffrey Frogeye
|
||||
|
||||
pkgname=automatrop-packages-{{ inventory_hostname_short }}
|
||||
pkgver={{ ansible_date_time.iso8601_basic_short }}
|
||||
pkgrel=1
|
||||
pkgdesc='Metapackage for packages wanted by Geoffrey via automatrop for {{ inventory_hostname }}'
|
||||
url='https://git.frogeye.fr/geoffrey/dotfiles/src/branch/master/config/automatrop'
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
depends=(
|
||||
{% for package in packages %}
|
||||
'{{ package }}'
|
||||
{% endfor %}
|
||||
)
|
|
@ -0,0 +1,26 @@
|
|||
{# Base shell packages #}
|
||||
coreutils
|
||||
bash
|
||||
grep
|
||||
sed
|
||||
tar
|
||||
openssl
|
||||
{% if debian_based %}
|
||||
python3-pip
|
||||
{% elsif termux %}
|
||||
python
|
||||
{% else %}
|
||||
python-pip
|
||||
{% endif %}
|
||||
{# Extended shell packages #}
|
||||
moreutils
|
||||
tmux
|
||||
bash-completion
|
||||
fzf
|
||||
highlight
|
||||
{% if arch_based %}
|
||||
powerline-go-bin
|
||||
{% else %}
|
||||
powerline-go
|
||||
{% endif %}
|
||||
zsh
|
Loading…
Add table
Add a link
Reference in a new issue