Fixed some stuff, still need to build

This commit is contained in:
Tibo De Peuter 2022-10-27 21:30:27 +02:00 committed by Tibo De Peuter
parent d7ca2d6e2b
commit 2f2d17ae48
2 changed files with 11 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Tibo De Peuter <tibo.depeuter@gmail.com> # Maintainer: Tibo De Peuter <tibo.depeuter@gmail.com>
pkgbase=tdpeuter pkgbase=tdpeuter
pkgname=(tdpeuter-base tdpeuter-dev tdpeuter-desktop) pkgname=(tdpeuter-base tdpeuter-dev tdpeuter-desktop)
pkgver=0.0.18 pkgver=0.0.19
pkgrel=1 pkgrel=1
pkgdesc="Sysconfig for my systems" pkgdesc="Sysconfig for my systems"
arch=(any) arch=(any)
@ -82,11 +82,10 @@ package_tdpeuter-desktop() {
# Tools # Tools
depends+=( depends+=(
vifm zathura zathura-pdf-mupdf zellij zenith vifm zathura zathura-pdf-mupdf zellij
) )
post_install() { post_install() {
bash ./install.sh
code --install-extension ms-vscode.cpptools code --install-extension ms-vscode.cpptools
} }
} }

View file

@ -8,7 +8,7 @@ post_install() {
pacman -S --needed git base-devel pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git git clone https://aur.archlinux.org/yay.git
cd yay cd yay
su -c "makepkg -si" - tdpeuter su -c "makepkg -si --asdeps" - tdpeuter
post_upgrade post_upgrade
} }
@ -32,7 +32,14 @@ install_apps() {
# Jetbrains # Jetbrains
pkgs+=" intellij-idea-ultimate-edition pycharm-professional jetbrains-fleet" pkgs+=" intellij-idea-ultimate-edition pycharm-professional jetbrains-fleet"
su -c "yay --sudo \"SUDO_ASKPASS=/usr/lib/ssh/x11-ssh-askpass sudo\" --sudoflags \"-A\" --answerclean None --answerdiff None -S ${pkgs}" - tdpeuter # Prompt for sudo password
options="--sudo \"SUDO_ASKPASS=/usr/lib/ssh/x11-ssh-askpass sudo\" "
# Skip these
options+="--sudoflags \"-A\" --answerclean None --answerdiff None "
# Install as dependency
options+="--makepkg \"makepkg --asdeps\" "
su -c "yay ${options} -S ${pkgs}" - tdpeuter
} }
install_fonts() { install_fonts() {