2019-08-11 11:57:50 +00:00
|
|
|
# Maintainer: Knut Ahlers <knut@ahlers.me>
|
|
|
|
|
|
|
|
pkgbase=luzifer
|
|
|
|
pkgname=(
|
2022-07-02 14:10:31 +00:00
|
|
|
luzifer-base
|
|
|
|
luzifer-devel
|
|
|
|
luzifer-gui
|
2022-07-02 14:27:41 +00:00
|
|
|
luzifer-lenovo-gui
|
2019-08-11 11:57:50 +00:00
|
|
|
)
|
2024-08-28 18:28:09 +00:00
|
|
|
pkgver=0.12.1
|
2019-08-11 11:57:50 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='System configuration for @luzifer systems'
|
|
|
|
arch=(any)
|
|
|
|
url=https://github.com/luzifer-aur/luzifer
|
|
|
|
license=(Apache)
|
|
|
|
groups=(luzifer)
|
|
|
|
|
|
|
|
rootdir=${PWD}
|
|
|
|
|
|
|
|
package_luzifer-base() {
|
2022-07-02 14:10:31 +00:00
|
|
|
provides=(vim vi)
|
|
|
|
conflicts=(vim vi)
|
|
|
|
install=luzifer-base.install
|
|
|
|
|
|
|
|
# Build on former base package
|
|
|
|
depends=(
|
|
|
|
base
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add basic system packages (formerly in "base" group)
|
|
|
|
depends+=(
|
|
|
|
cryptsetup
|
|
|
|
e2fsprogs
|
|
|
|
less
|
|
|
|
linux
|
|
|
|
linux-firmware
|
|
|
|
logrotate
|
|
|
|
lvm2
|
|
|
|
man-db
|
|
|
|
man-pages
|
|
|
|
mdadm
|
|
|
|
usbutils
|
|
|
|
util-linux
|
|
|
|
which
|
|
|
|
xfsprogs
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add system utils
|
|
|
|
depends+=(
|
2024-08-28 13:21:25 +00:00
|
|
|
ansible-core
|
2023-12-13 11:41:43 +00:00
|
|
|
bc
|
2022-07-02 14:10:31 +00:00
|
|
|
curl
|
|
|
|
ddrescue
|
|
|
|
dust
|
|
|
|
envrun
|
|
|
|
expect
|
2023-09-08 20:54:13 +00:00
|
|
|
eza
|
2023-12-13 10:31:34 +00:00
|
|
|
git
|
2022-07-02 14:10:31 +00:00
|
|
|
gocryptfs
|
2022-08-23 09:07:39 +00:00
|
|
|
inetutils
|
2022-07-02 14:10:31 +00:00
|
|
|
jq
|
|
|
|
pacman-contrib
|
|
|
|
peco
|
|
|
|
ripgrep
|
|
|
|
rsync
|
|
|
|
sudo
|
|
|
|
tmux
|
|
|
|
unzip
|
|
|
|
vault-bin
|
2023-12-13 10:52:07 +00:00
|
|
|
vault-user-token
|
2022-07-02 14:10:31 +00:00
|
|
|
wget
|
|
|
|
)
|
|
|
|
|
2024-08-28 13:21:25 +00:00
|
|
|
# Add security utils
|
|
|
|
depends+=(
|
|
|
|
apparmor
|
|
|
|
audit
|
2024-08-28 18:21:34 +00:00
|
|
|
clamav
|
2024-08-28 13:21:25 +00:00
|
|
|
)
|
|
|
|
|
2022-07-04 09:29:14 +00:00
|
|
|
# Add custom sytem utils
|
|
|
|
depends+=(
|
|
|
|
arch-update
|
|
|
|
)
|
|
|
|
|
2022-07-02 14:10:31 +00:00
|
|
|
# Add debugging utils
|
|
|
|
depends+=(
|
|
|
|
bind-tools
|
|
|
|
htop
|
|
|
|
iotop
|
|
|
|
lsof
|
|
|
|
mtr
|
|
|
|
nmap
|
|
|
|
socat
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add network utils
|
|
|
|
depends+=(
|
|
|
|
openssh
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add shell
|
2022-09-20 13:12:47 +00:00
|
|
|
depends+=(
|
|
|
|
oh-my-posh
|
|
|
|
zsh
|
|
|
|
)
|
2022-07-02 14:10:31 +00:00
|
|
|
|
|
|
|
# Add editor
|
|
|
|
depends+=(neovim python-pynvim)
|
|
|
|
|
|
|
|
# Add script dependencies
|
|
|
|
depends+=(
|
|
|
|
python
|
|
|
|
python-requests
|
|
|
|
)
|
|
|
|
|
|
|
|
cp -a "$rootdir/base/"* "$pkgdir"
|
2019-08-11 11:57:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_luzifer-devel() {
|
2023-02-18 13:33:49 +00:00
|
|
|
# Start with Archlinux base-devel meta-package and my base-package
|
2022-07-02 14:10:31 +00:00
|
|
|
depends=(
|
2023-02-18 13:33:49 +00:00
|
|
|
luzifer-base
|
|
|
|
base-devel
|
2022-07-02 14:10:31 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Add dev specific tools
|
|
|
|
depends+=(
|
|
|
|
autopep8
|
|
|
|
aws-cli
|
|
|
|
diffutils
|
|
|
|
docker
|
|
|
|
go
|
2022-07-02 15:35:52 +00:00
|
|
|
shfmt
|
2024-03-06 12:14:24 +00:00
|
|
|
vim-go-tools
|
2022-07-02 14:10:31 +00:00
|
|
|
)
|
2019-08-11 11:57:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_luzifer-gui() {
|
2022-07-02 14:10:31 +00:00
|
|
|
install=luzifer-gui.install
|
|
|
|
|
|
|
|
depends=(luzifer-base)
|
|
|
|
|
|
|
|
# Add fonts
|
|
|
|
depends+=(
|
|
|
|
adobe-base-14-fonts
|
|
|
|
nerd-fonts-dejavu-complete
|
|
|
|
noto-fonts-emoji
|
|
|
|
otf-ipafont
|
|
|
|
ttf-opensans
|
|
|
|
ttf-roboto
|
|
|
|
ttf-tahoma
|
|
|
|
ttf-windows
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add login manager
|
|
|
|
depends+=(
|
|
|
|
lightdm
|
|
|
|
lightdm-gtk-greeter
|
2022-07-02 14:27:41 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Add packages of the xorg group (pacman -Sg xorg | cut -d ' ' -f 2 | xargs | fold -sw 72)
|
|
|
|
depends+=(
|
|
|
|
xf86-video-vesa xorg-bdftopcf xorg-docs xorg-font-util
|
|
|
|
xorg-fonts-100dpi xorg-fonts-75dpi xorg-fonts-encodings xorg-iceauth
|
|
|
|
xorg-mkfontscale xorg-server xorg-server-common xorg-server-devel
|
|
|
|
xorg-server-xephyr xorg-server-xnest xorg-server-xvfb xorg-sessreg
|
|
|
|
xorg-setxkbmap xorg-smproxy xorg-x11perf xorg-xauth xorg-xbacklight
|
|
|
|
xorg-xcmsdb xorg-xcursorgen xorg-xdpyinfo xorg-xdriinfo xorg-xev
|
|
|
|
xorg-xgamma xorg-xhost xorg-xinput xorg-xkbcomp xorg-xkbevd
|
|
|
|
xorg-xkbutils xorg-xkill xorg-xlsatoms xorg-xlsclients xorg-xmodmap
|
|
|
|
xorg-xpr xorg-xprop xorg-xrandr xorg-xrdb xorg-xrefresh xorg-xset
|
|
|
|
xorg-xsetroot xorg-xvinfo xorg-xwayland xorg-xwd xorg-xwininfo xorg-xwud
|
2022-07-02 14:10:31 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Add i3 (pacman -Sg i3 | cut -d ' ' -f 2 | xargs | fold -sw 72)
|
|
|
|
depends+=(
|
2023-05-07 14:59:07 +00:00
|
|
|
i3-wm i3blocks i3lock i3status
|
2022-07-02 14:10:31 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Add GUI environment
|
|
|
|
depends+=(
|
|
|
|
alacritty
|
|
|
|
chromium
|
|
|
|
dex
|
|
|
|
dialog
|
|
|
|
dmenu
|
|
|
|
feh
|
2024-07-18 13:34:52 +00:00
|
|
|
gnome-keyring
|
2023-12-13 11:41:43 +00:00
|
|
|
keepassxc
|
2022-07-02 14:10:31 +00:00
|
|
|
maim
|
|
|
|
mupdf
|
2023-12-13 11:41:43 +00:00
|
|
|
nextcloud-client
|
2022-07-02 14:10:31 +00:00
|
|
|
redshift
|
|
|
|
xbindkeys
|
|
|
|
xclip
|
2022-07-02 15:47:05 +00:00
|
|
|
xss-lock
|
2022-07-02 14:10:31 +00:00
|
|
|
)
|
2022-07-02 14:12:56 +00:00
|
|
|
|
|
|
|
# Add sound
|
|
|
|
depends+=(
|
2022-07-02 14:31:24 +00:00
|
|
|
alsa-utils
|
2022-07-02 14:12:56 +00:00
|
|
|
pulseaudio
|
|
|
|
pulsemixer
|
|
|
|
)
|
2019-08-11 11:57:50 +00:00
|
|
|
}
|
2022-07-02 14:27:41 +00:00
|
|
|
|
|
|
|
package_luzifer-lenovo-gui() {
|
|
|
|
# This extends the normal GUI package for Thinkpads
|
|
|
|
depends=(luzifer-gui)
|
|
|
|
|
|
|
|
depends+=(
|
|
|
|
acpi # Required for lid-close events
|
|
|
|
xorg-xbacklight # Control display brightness
|
|
|
|
)
|
|
|
|
}
|