systems/arch/PKGBUILD

131 lines
3.1 KiB
Text
Raw Normal View History

2022-12-20 17:34:26 +00:00
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
# shellcheck disable=SC2034
pkgname=serguzim-system
pkgver=1
pkgrel=1
epoch=
pkgdesc=""
arch=("any")
url="https://git.serguzim.me/serguzim/system"
license=("unknown")
groups=()
depends=(
### BASE
"base"
"linux" "linux-firmware" "linux-headers"
"man-db" "man-pages" "usbutils" "sudo"
2023-01-06 00:25:25 +00:00
"mlocate" "vim"
2023-01-13 16:14:45 +00:00
"exfat-utils" "logrotate" "udisks2"
2022-12-20 17:34:26 +00:00
"zsh" "htop" "git" "wireguard-tools"
"cups" "cups-pdf"
"docker" "docker-buildx" "docker-compose"
2023-01-13 16:14:45 +00:00
#"xdg-user-dirs"
2022-12-20 17:34:26 +00:00
### BASE-DEVEL
"archlinux-keyring" "autoconf" "automake" "binutils" "bison" "debugedit"
"fakeroot" "file" "findutils" "flex" "gawk" "gcc" "gettext" "grep" "groff"
"gzip" "libtool" "m4" "make" "pacman" "patch" "pkgconf" "sed" "sudo"
"texinfo" "which"
### OTHER PACKAGE MANAGERS
"nix" "flatpak"
### ARCH UTILS
"archlinux-contrib" "pacman-contrib"
"arch-audit"
"reflector" # Update arch mirrorlist
"libudev0-shim" # Arch compatibility library
### FONTS
"noto-fonts-emoji" "noto-fonts-extra" "unicode-emoji"
"ttf-dejavu" "ttf-droid" "ttf-liberation" "ttf-opensans" "ttf-roboto"
"gnu-free-fonts"
### XORG
"xorg-server" "xorg-server-xvfb" "xorg-xfd" "xorg-xinit"
"xorg-xinput" "xorg-xlsclients" "xorg-xmodmap"
"vulkan-tools"
"mesa-vdpau" "libva-mesa-driver" "opencl-mesa"
"numlockx"
### APPLICATIONS
"sddm"
#"bemenu" "bemenu-x11" "j4-dmenu-desktop"
2022-12-20 17:34:26 +00:00
"bspwm"
#"sxhkd" "polybar"
2022-12-20 17:34:26 +00:00
"pipewire-pulse" "vorbis-tools" "alsa-utils"
"gst-plugins-good" "gst-plugins-good" "gst-plugins-bad" "gst-plugins-ugly"
"polkit-gnome"
"alacritty"
"lxappearance" "qt5ct" "gnome-icon-theme-extras" "gnome-themes-extra"
2023-01-13 16:14:45 +00:00
#"thunar" "tumbler" "ffmpegthumbnailer"
#"gtkspell"
"thunderbird"
2022-12-20 17:34:26 +00:00
"qutebrowser" "python-adblock" "python-pynacl" "pdfjs-legacy"
"ungoogled-chromium" "firefox"
"chromium-widevine" "qt5-webengine-widevine"
2023-01-13 16:14:45 +00:00
#"kdeconnect" "keepassxc"
"syncthing"
2022-12-20 17:34:26 +00:00
)
source=(
"etc_locale.conf"
2022-12-30 11:29:56 +00:00
"etc_mkinitcpio.conf"
2022-12-20 17:34:26 +00:00
"etc_pacman.conf"
"etc_pacman.d_default.conf"
"etc_pacman.d_hooks_95-systemd-boot.hook"
"etc_sddm.conf.d_autologin.conf"
"etc_sddm.conf.d_general.conf"
2022-12-30 11:29:56 +00:00
"etc_sysctl.d_90-sysrq.conf"
2022-12-20 17:34:26 +00:00
"etc_vconsole.conf"
"etc_xdg_reflector_reflector.conf"
2022-12-30 11:29:56 +00:00
"etc_X11_xorg.conf.d_10-keyboard.conf"
2022-12-20 17:34:26 +00:00
"etc_X11_xorg.conf.d_50-mouse-acceleration.conf"
)
sha256sums=(
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
2022-12-30 11:29:56 +00:00
"SKIP"
2022-12-20 17:34:26 +00:00
)
backup=(
"boot/loader/loader.conf"
)
_sed_path() {
echo "$1" | sed -e "s/\//_/g"
}
_install() {
temp_pkg=$1
temp_src=$(_sed_path "$temp_pkg")
# shellcheck disable=SC2154
install "-Dm${2:-644}" "${srcdir}/${temp_src}" "${pkgdir}/${temp_pkg}"
}
package() {
_install "etc/locale.conf"
2022-12-30 11:29:56 +00:00
_install "etc/mkinitcpio.conf"
2022-12-20 17:34:26 +00:00
_install "etc/pacman.conf"
_install "etc/pacman.d/default.conf"
_install "etc/pacman.d/hooks/95-systemd-boot.hook"
_install "etc/sddm.conf.d/autologin.conf"
_install "etc/sddm.conf.d/general.conf"
2022-12-30 11:29:56 +00:00
_install "etc/sysctl.d/90-sysrq.conf"
2022-12-20 17:34:26 +00:00
_install "etc/vconsole.conf"
2022-12-30 11:29:56 +00:00
_install "etc/X11/xorg.conf.d/10-keyboard.conf"
2022-12-20 17:34:26 +00:00
_install "etc/X11/xorg.conf.d/50-mouse-acceleration.conf"
_install "etc/xdg/reflector/reflector.conf"
2022-12-20 17:34:26 +00:00
}
# vim: ft=sh