Add arch systems
This commit is contained in:
		
						commit
						5fe1d603ad
					
				
					 18 changed files with 301 additions and 0 deletions
				
			
		
							
								
								
									
										124
									
								
								arch/PKGBUILD
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										124
									
								
								arch/PKGBUILD
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,124 @@ | |||
| # 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" | ||||
| 	"mlocate" "gvim" "neovim" | ||||
| 	"exfat-utils" "logrotate" | ||||
| 
 | ||||
| 	"zsh" "htop" "git" "wireguard-tools" | ||||
| 	"cups" "cups-pdf" | ||||
| 	"docker" "docker-buildx" "docker-compose" | ||||
| 	"xdg-user-dirs" | ||||
| 
 | ||||
| 	### 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" | ||||
| 	"bspwm" | ||||
| 	"sxhkd" "polybar" | ||||
| 	"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" | ||||
| 	"thunar" "tumbler" "ffmpegthumbnailer" | ||||
| 	"gtkspell" | ||||
| 	"thunderbird" "virtualbox" | ||||
| 	"qutebrowser" "python-adblock" "python-pynacl" "pdfjs-legacy" | ||||
| 	"ungoogled-chromium" "firefox" | ||||
| 	"chromium-widevine" "qt5-webengine-widevine"  | ||||
| 	"kdeconnect" "keepassxc" "syncthing" | ||||
| ) | ||||
| source=( | ||||
| 	"boot_loader_entries_arch.conf" | ||||
| 	"boot_loader_loader.conf" | ||||
| 	"etc_locale.conf" | ||||
| 	"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" | ||||
| 	"etc_vconsole.conf" | ||||
| 	"etc_X11_xorg.conf.d_50-mouse-acceleration.conf" | ||||
| ) | ||||
| sha256sums=( | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| 	"SKIP" | ||||
| ) | ||||
| 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 "boot/loader/entries/arch.conf" "755" | ||||
| 	_install "boot/loader/loader.conf" "755" | ||||
| 
 | ||||
| 	_install "etc/locale.conf" | ||||
| 	_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" | ||||
| 	_install "etc/vconsole.conf" | ||||
| 	_install "etc/X11/xorg.conf.d/50-mouse-acceleration.conf" | ||||
| } | ||||
| 
 | ||||
| # vim: ft=sh | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue