1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-12-11 07:06:22 +00:00

arch: switch to meta packages to install everything

This commit is contained in:
Phantop 2025-02-12 23:28:50 -05:00
parent 37a96bb841
commit b5658d489c
7 changed files with 123 additions and 263 deletions

52
arch/PKGBUILD/ly-nozig Normal file
View file

@ -0,0 +1,52 @@
# Maintainer: Christian Heusel <gromit@archlinux.org>
# Contributor: éclairevoyant
# Contributor: nullgemm <nullgemm@mailbox.org>
pkgname=ly-nozig
pkgver=0.6.0
pkgrel=1
_tag=1c2be475ad09af18e632609c779d508e7fb866f9
pkgdesc="TUI display manager"
arch=(x86_64)
url="https://github.com/fairyglade/ly"
license=('custom:WTFPL')
depends=(pam)
conflicts=(ly)
makedepends=(git libxcb)
optdepends=('xorg-xauth: for X server sessions'
'libxcb: for X server sessions')
backup=(etc/ly/{config.ini,wsetup.sh,xsetup.sh})
source=("git+$url.git#tag=$_tag"
"git+https://github.com/nullgemm/argoat.git"
"git+https://github.com/nullgemm/configator.git"
"git+https://github.com/nullgemm/dragonfail.git"
"git+https://github.com/nullgemm/termbox_next.git")
b2sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
prepare() {
cd "ly"
git submodule init
git config submodule.sub/argoat.url "$srcdir/argoat"
git config submodule.sub/configator.url "$srcdir/configator"
git config submodule.sub/dragonfail.url "$srcdir/dragonfail"
git config submodule.sub/termbox_next.url "$srcdir/termbox_next"
git -c protocol.file.allow=always submodule update
}
build() {
make -C "ly"
}
package() {
cd "ly"
# we install the binary as ly-dm because of the conflict with python-ly
make DESTDIR="$pkgdir" NAME=ly-dm install installsystemd
sed -i "s;/usr/bin/ly;/usr/bin/ly-dm;g" "$pkgdir/usr/lib/systemd/system/ly.service"
install -Dm644 license.md "$pkgdir/usr/share/licenses/ly/WTFPL"
}

34
arch/PKGBUILD/meta-cli Normal file
View file

@ -0,0 +1,34 @@
pkgname=meta-cli
pkgver=2025.02.11
pkgrel=1
pkgdesc="Metapackage for cli stuff"
arch=('any')
url="https://phantop.github.io"
license=('GPL3')
depends=(
7zip bcachefs-tools bzip3 lrzip innoextract msitools squashfs-tools upx zip
advancecomp gifsicle jpegoptim oxipng pngquant qpdf
arch-install-scripts expac hblock reflector yay
aria2 gallery-dl httrack lynx megatools monolith wget yt-dlp
asciinema btop musikcube ncdu nnn tmux
base-devel busybox ccache mandoc man-pages moreutils opendoas parallel
bat fd fzf ripgrep ripgrep-all
bc gron jless jq
bleachbit jdupes
composer perl-parallel-forkmanager perl-rename php
cpupower power-profiles-daemon
dolphin-emu-tool flips mame-tools nsz xdelta3
ffmpeg imagemagick poppler
firejail nss-mdns
fish autojump starship stow xsel
git github-cli tig
hurl pup trurl tuc
ifuse rclone rsync mullvad-vpn-cli torsocks syncthing
inxi smartmontools ventoy-bin
mupdf-tools pandoc-bin tesseract-data-eng typst
neovim most
rustup pyenv python-html2text python-pylint uv
# Tools to check out
binwalk csvlens elvish fq grex jc magic-wormhole ouch runc slumber yq
)

View file

@ -0,0 +1,28 @@
pkgname=meta-desktop
pkgver=2025.02.11
pkgrel=1
pkgdesc="Metapackage for desktop stuff"
arch=('any')
url="https://phantop.github.io"
license=('GPL3')
depends=(
budgie-desktop dracula-gtk-theme-git gtk3-classic qt5ct
kitty pcmanfm-gtk3 gvfs-mtp rofi
adobe-source-code-pro-fonts cantarell-fonts noto-fonts-emoji
ttf-ubuntu-font-family ttf-dejavu ttf-liberation
discord signal-desktop
keepassxc sqlitebrowser zeal
ladybird lagrange netsurf
nicotine+ qbittorrent uget
qutebrowser dart-sass qrencode pdfjs python-adblock python-readability-lxml
audacity avidemux-qt obs-studio sonic-visualiser
mpv mpv-mpris anime4k-git sxiv libheif webp-pixbuf-loader
krita qownnotes vmpk xournalpp
zathura zathura-cb zathura-djvu zathura-pdf-mupdf xreader xarchiver
ares-emu dolphin-emu mandarine-git melonds-git ryujinx
love luanti steam
gamescope game-devices-udev
)

View file

@ -1,258 +0,0 @@
7zip
advancecomp
android-tools
anime4k-git
apparmor
arch-install-scripts
ares-emu-avx-git
aria2
asciinema
audacity
autojump
avidemux-qt
base
base-devel
bat
bc
bcachefs-tools
binwalk
bleachbit
browserpass-firefox
btop
budgie-desktop
busybox
bzip3
ccache
chaotic-keyring
chaotic-mirrorlist
clang
cmake
composer
cpupower
csvlens
dart-sass
devkitpro-keyring
discord
doas-sudo-shim
dolphin-emu
dolphin-emu-tool
dracula-gtk-theme-git
duckstation
elvish
erofs-utils
expac
fd
firefox-adblock-plus
firefox-dark-reader
firefox-decentraleyes
firefox-extension-mailvelope
firefox-extension-passff
firefox-noscript
firefox-tree-style-tab
firefox-tridactyl
firefox-ublock-origin
firejail
fish
flatpak
flips
fq
fuse-overlayfs
fwupd
fzf
gallery-dl
game-devices-udev
gamescope
gdb
gifsicle
git
git-delta
git-filter-repo
git-lfs
github-cli
gitui
gnome-disk-utility
gnome-keyring
gnome-power-manager
grex
gron
gtk3-classic
gurk
gvfs-mtp
hblock
httrack
hurl
i3lock
ifuse
imagemagick
innoextract
intel-media-driver
intel-ucode
inxi
iwd
jack2
jc
jdk21-openjdk
jdupes
jless
jpegoptim
jq
keepassxc
kernel-headers-musl
kitty
kiwix-tools
krita
ladybird
lagrange
libheif
libimobiledevice-git
libpulse
libva-intel-driver
linux
linux-firmware
linux-hardened
love
lrzip
luanti
lynx
magic-wormhole
mame-tools
man-pages
mandarine-git
mandoc
megatools
meld
melonds-git
meson
miniflux
monolith
moreutils
most
mpv-mpris
msitools
mullvad-vpn-cli
mupdf-gl
mupdf-tools
musikcube
ncdu
neovim
netsurf
network-manager-applet
networkmanager
nicotine+
ninja
nnn
noto-fonts-emoji
npm
nss-mdns
nvme-cli
obs-studio
opendoas
openssl-1.1
opus-tools
oxipng
pandoc-bin
parallel
pcmanfm-gtk3
pdfjs
perl-parallel-forkmanager
perl-rename
pipewire
pngquant
poppler
postgresql-libs
power-profiles-daemon
powertop
pulseaudio
pulseaudio-alsa
pulseaudio-bluetooth
pulseaudio-jack
pup
pyenv
python-adblock
python-html2text
python-lxml-html-clean
python-pip
python-pipx
python-playsound
python-pylint
python-readability-lxml
qbittorrent
qownnotes
qpdf
qrencode
qt5-base
qt5ct
qutebrowser
rclone
redlib
reflector
ripgrep-all
rofi
rsync
runc
rustup
ryujinx
samba
sassc
signal-desktop
slumber
smartmontools
sof-firmware
sonic-visualiser
sqlitebrowser
squashfs-tools
starship
steam
stow
sxiv
syncplay
syncthing
system-config-printer
tig
tk
tldr
tmux
torsocks
trurl
ttf-dejavu
ttf-ubuntu-font-family
tuc
typst
uget
unzip
upx
usbutils
uv
ventoy-bin
vmpk
vulkan-intel
vulkan-radeon
w3m
waifu2x-ncnn-vulkan
webp-pixbuf-loader
wget
wqy-microhei
xarchiver
xclip
xdelta3
xdg-utils
xdotool
xf86-input-evdev
xf86-input-libinput
xf86-input-wacom
xorg-server
xorg-xinit
xournalpp
xreader
xsel
xss-lock
xsv
yay
yq
yt-dlp
zathura-cb
zathura-djvu
zathura-pdf-mupdf
zeal
zip
zram-generator

View file

@ -11,6 +11,7 @@ set -Ux GTK_THEME Dracula
set -Ux MANPAGER 'nvim +Man!'
set -Ux NNN_FIFO /tmp/nnn.fifo
set -Ux NNN_PLUG 'f:fzcd;i:imgur;j:autojump;m:nmount;p:preview-tui;s:imgview'
set -Ux PACMAN_AUTH doas
set -Ux PAGER most
set -Ux QT_QPA_PLATFORMTHEME qt5ct
set -Ux USE_CCACHE 1

View file

@ -15,12 +15,15 @@ p -U 'https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz'
t /etc/pacman.conf < ~/.dotfiles/arch/pacman.conf
p -Syu
#shellcheck disable=SC2046
p -S --needed $(grep -v devkit ~/.dotfiles/arch/packages)
yay -S pandoc-bin shellcheck-bin xremap-x11-bin --noconfirm
cp ~/.dotfiles/arch/dwarfs-universal /tmp/PKGBUILD
makepkg -srD /tmp
p -S base-devel
cp ~/.dotfiles/arch/PKGBUILD/* /tmp
makepkg -D /tmp -dp /tmp/meta-cli
makepkg -D /tmp -dp /tmp/meta-desktop
p -U /tmp/*.tar.zst
makepkg -sr -D /tmp -p /tmp/dwarfs-universal
makepkg -sr -D /tmp -p /tmp/ly-nozig
p -U /tmp/*.tar.zst
yay -S shellcheck-bin xremap-x11-bin --noconfirm --sudo doas
t /etc/pacman.conf < ~/.dotfiles/arch/devkitpro.conf
echo kernel.core_pattern=/dev/null | t /etc/sysctl.d/50-coredump.conf