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
|
2019-08-11 11:57:50 +00:00
|
|
|
)
|
2022-07-02 14:10:31 +00:00
|
|
|
pkgver=0.6.0
|
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
|
|
|
|
netctl
|
|
|
|
usbutils
|
|
|
|
util-linux
|
|
|
|
which
|
|
|
|
xfsprogs
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add system utils
|
|
|
|
depends+=(
|
|
|
|
curl
|
|
|
|
ddrescue
|
|
|
|
dust
|
|
|
|
envrun
|
|
|
|
exa
|
|
|
|
expect
|
|
|
|
gocryptfs
|
|
|
|
jq
|
|
|
|
pacman-contrib
|
|
|
|
peco
|
|
|
|
ripgrep
|
|
|
|
rsync
|
|
|
|
sudo
|
|
|
|
tmux
|
|
|
|
unzip
|
|
|
|
vault-bin
|
|
|
|
wget
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add debugging utils
|
|
|
|
depends+=(
|
|
|
|
bind-tools
|
|
|
|
htop
|
|
|
|
iotop
|
|
|
|
lsof
|
|
|
|
mtr
|
|
|
|
nmap
|
|
|
|
socat
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add network utils
|
|
|
|
depends+=(
|
|
|
|
openssh
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add shell
|
|
|
|
depends+=(zsh)
|
|
|
|
|
|
|
|
# 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() {
|
2022-07-02 14:10:31 +00:00
|
|
|
# Start with Archlinux base-devel group (pacman -Sg base-devel | cut -d ' ' -f 2 | xargs | fold -sw 72)
|
|
|
|
depends=(
|
|
|
|
autoconf automake binutils bison fakeroot file findutils flex gawk gcc
|
|
|
|
gettext grep groff gzip libtool m4 make pacman patch pkgconf sed sudo
|
|
|
|
texinfo which
|
|
|
|
)
|
|
|
|
|
|
|
|
# Apply my base package
|
|
|
|
depends+=(luzifer-base)
|
|
|
|
|
|
|
|
# Add dev specific tools
|
|
|
|
depends+=(
|
|
|
|
autopep8
|
|
|
|
aws-cli
|
|
|
|
diffutils
|
|
|
|
docker
|
|
|
|
git
|
|
|
|
go
|
|
|
|
)
|
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
|
|
|
|
xorg-server
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add i3 (pacman -Sg i3 | cut -d ' ' -f 2 | xargs | fold -sw 72)
|
|
|
|
depends+=(
|
|
|
|
i3-gaps i3-wm i3blocks i3lock i3status
|
|
|
|
)
|
|
|
|
|
|
|
|
# Add GUI environment
|
|
|
|
depends+=(
|
|
|
|
alacritty
|
|
|
|
chromium
|
|
|
|
dex
|
|
|
|
dialog
|
|
|
|
dmenu
|
|
|
|
feh
|
|
|
|
maim
|
|
|
|
mupdf
|
|
|
|
redshift
|
|
|
|
xbindkeys
|
|
|
|
xclip
|
|
|
|
)
|
2019-08-11 11:57:50 +00:00
|
|
|
}
|