2022-07-25 12:08:47 +02:00
|
|
|
pkgbase=mkessler
|
2022-07-25 19:32:55 +02:00
|
|
|
pkgname=(mkessler-base mkessler-xmonad mkessler-x mkessler-audio mkessler-software mkessler-print mkessler-locale mkessler-desktop mkessler-devel mkessler-signing-key)
|
2022-07-26 11:17:22 +02:00
|
|
|
pkgver=0.15
|
2022-07-25 12:08:47 +02:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Base system configuration for mkessler systems"
|
|
|
|
arch=('any')
|
|
|
|
license=('MIT')
|
|
|
|
groups=(mkessler)
|
2022-07-25 19:32:55 +02:00
|
|
|
url="https://gitlab.com/kesslermaximilian/arch-pkgs"
|
|
|
|
|
2022-07-25 20:04:29 +02:00
|
|
|
source=(https://mkessler-arch.maximilian-kessler.de/signing_key)
|
2022-07-25 19:32:55 +02:00
|
|
|
b2sums=(b0e1a6bc60f99bdda99dd053ef869a9f3f899ced7a4b23db3718baaee374375ca4013ac3eab2eb3ef6d645083722f9305c484661cd1246f6ec2e3bf62dbf95a4)
|
2022-07-25 12:08:47 +02:00
|
|
|
|
2022-07-25 20:31:10 +02:00
|
|
|
package_mkessler-signing-key() {
|
|
|
|
# Install this package after pacman to ensure that its keyring is initialized
|
|
|
|
depends=(pacman)
|
|
|
|
|
|
|
|
install=mkessler-signing-key.install
|
|
|
|
|
|
|
|
install -d "$pkgdir"/opt
|
|
|
|
mkdir -p "$pkgdir"/opt/mkessler/signing-key
|
|
|
|
cp ${srcdir}/signing_key "$pkgdir"/opt/mkessler/signing-key/signing_key
|
|
|
|
}
|
|
|
|
|
2022-07-25 12:08:47 +02:00
|
|
|
package_mkessler-base() {
|
|
|
|
# Base packages
|
|
|
|
depends=(base linux linux-firmware man-db man-pages lvm2)
|
|
|
|
|
|
|
|
# boot manager
|
|
|
|
depends+=(grub efibootmgr)
|
|
|
|
|
2022-07-25 23:13:19 +02:00
|
|
|
# standard programs
|
2022-07-25 23:29:31 +02:00
|
|
|
# note that vim-plug is from the AUR,
|
|
|
|
# the package has to be present on a custom repo
|
|
|
|
depends+=(zsh gvim vim-plug openssh gzip tar rsync)
|
2022-07-25 23:13:19 +02:00
|
|
|
|
2022-07-25 23:29:31 +02:00
|
|
|
# standard utilities
|
2022-07-25 23:13:19 +02:00
|
|
|
depends+=(ncdu wget tree sudo htop which sed make grep)
|
2022-07-25 12:08:47 +02:00
|
|
|
|
|
|
|
# network
|
|
|
|
depends+=(dhcpcd networkmanager)
|
2022-07-25 20:31:10 +02:00
|
|
|
|
|
|
|
# install signing key
|
|
|
|
depends+=(mkessler-signing-key)
|
2022-07-25 22:54:36 +02:00
|
|
|
|
|
|
|
install=mkessler-base.install
|
2022-07-25 12:08:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package_mkessler-xmonad() {
|
|
|
|
# haskell utilities
|
|
|
|
depends=(stack ghc)
|
|
|
|
|
|
|
|
# libraries needed to build xmonad
|
|
|
|
depends+=(libxss libx11)
|
|
|
|
}
|
|
|
|
|
|
|
|
package_mkessler-x() {
|
2022-07-25 13:01:02 +02:00
|
|
|
depends=(xorg-server)
|
|
|
|
|
|
|
|
# xorg utilities
|
|
|
|
depends+=(xorg-xkill xorg-xev xorg-xrandr xorg-docs xorg-setxkbmap)
|
2022-07-25 12:08:47 +02:00
|
|
|
|
|
|
|
# greeter
|
|
|
|
depends+=(lightdm lightdm-gtk-greeter)
|
|
|
|
|
2022-07-25 13:01:02 +02:00
|
|
|
# window managers: i3 and stuff to build xmonad
|
|
|
|
depends+=(i3-gaps i3lock i3status i3blocks)
|
|
|
|
|
|
|
|
depends+=(mkessler-xmonad)
|
2022-07-25 12:08:47 +02:00
|
|
|
|
|
|
|
# launching utilities, status bar
|
|
|
|
depends+=(dmenu rofi polybar)
|
2022-07-25 12:25:04 +02:00
|
|
|
|
|
|
|
# sets X11 keyboard layout
|
|
|
|
install=mkessler-x.install
|
2022-07-26 11:17:22 +02:00
|
|
|
|
|
|
|
# terminal emulators
|
|
|
|
depends+=(kitty alacritty)
|
2022-07-25 12:08:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package_mkessler-audio() {
|
2022-07-25 13:09:30 +02:00
|
|
|
depends=(pipewire pipewire-pulse pipewire-jack)
|
2022-07-25 12:08:47 +02:00
|
|
|
|
|
|
|
# firmware
|
2022-07-25 13:09:30 +02:00
|
|
|
depends+=(alsa-firmware sof-firmware)
|
2022-07-25 12:08:47 +02:00
|
|
|
|
|
|
|
# utilities
|
2022-07-25 13:09:30 +02:00
|
|
|
depends+=(pavucontrol alsa-utils qpwgraph)
|
2022-07-25 12:08:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package_mkessler-software() {
|
|
|
|
depends=(thunderbird qutebrowser vlc)
|
|
|
|
|
|
|
|
# zathura and PDF plugin
|
|
|
|
depends+=(zathura zathura-pdf-mupdf zathura-djvu)
|
|
|
|
|
|
|
|
# messengers
|
2022-07-25 18:41:43 +02:00
|
|
|
depends+=(signal-desktop element-desktop telegram-desktop)
|
|
|
|
|
2022-07-25 23:35:27 +02:00
|
|
|
# texlive installer
|
|
|
|
depends+=(texlive-installer)
|
|
|
|
|
2022-07-25 18:41:43 +02:00
|
|
|
# python
|
|
|
|
depends+=(python python-pip)
|
2022-07-25 12:08:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package_mkessler-print() {
|
|
|
|
depends=(cups cups-pdf)
|
2022-07-25 22:54:36 +02:00
|
|
|
|
|
|
|
install=mkessler-print.install
|
2022-07-25 12:08:47 +02:00
|
|
|
}
|
|
|
|
|
2022-07-25 12:25:04 +02:00
|
|
|
package_mkessler-locale() {
|
|
|
|
depends=()
|
|
|
|
install=mkessler-locale.install
|
|
|
|
}
|
|
|
|
|
2022-07-25 12:08:47 +02:00
|
|
|
package_mkessler-desktop() {
|
2022-07-25 18:12:57 +02:00
|
|
|
depends=(mkessler-base mkessler-x mkessler-audio mkessler-software mkessler-print mkessler-locale)
|
2022-07-25 12:08:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package_mkessler-devel() {
|
2022-07-25 23:13:19 +02:00
|
|
|
depends=(stack ghc gcc go)
|
2022-07-25 12:08:47 +02:00
|
|
|
|
|
|
|
# python
|
|
|
|
depends+=(python python-pip)
|
2022-07-25 23:03:48 +02:00
|
|
|
|
|
|
|
# fakeroot for running makepkg
|
2022-07-25 23:13:19 +02:00
|
|
|
depends+=(fakeroot archiso gawk texinfo pkgconf)
|
2022-07-25 12:08:47 +02:00
|
|
|
}
|