This commit is contained in:
meshya 2024-07-24 18:27:51 +03:30
parent ace16e54f8
commit dcb69f4774
3 changed files with 14 additions and 10 deletions

View file

@ -2,7 +2,7 @@ pkgname=gnome-parch
_destname1="/etc"
_destname2="/usr"
pkgver=3.0.0
pkgrel=1
pkgrel=2
pkgdesc="parch linux gnome config"
arch=("any")
url="https://github.com/parchlinux"
@ -11,6 +11,7 @@ makedepends=('git')
conflicts=()
provides=("${pkgname}")
options=(!strip !emptydirs)
install=gnome-parch.install
source=("rootfs.zip")
sha256sums=('SKIP')
deps=("gnome-shell" "papirus-icon-theme" "parch-gnome-backgrounds" "orchis-theme")
@ -25,12 +26,3 @@ package() {
chmod 544 ${pkgdir}/etc/gdm/gdm-login-logo
}
post_install(){
cp /usr/share/gnome-shell/gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource.old
mv /usr/share/gnome-shell/parch-gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource
chmod 544 ${pkgdir}/usr/share/gnome-shell/gnome-shell-theme.gresource
}
pre_remove(){
mv /usr/share/gnome-shell/gnome-shell-theme.gresource.old /usr/share/gnome-shell/gnome-shell-theme.gresource
}

9
gnome-parch.install Normal file
View file

@ -0,0 +1,9 @@
post_install(){
cp /usr/share/gnome-shell/gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource.old
mv /usr/share/gnome-shell/parch-gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource
chmod 544 ${pkgdir}/usr/share/gnome-shell/gnome-shell-theme.gresource
}
pre_remove(){
mv /usr/share/gnome-shell/gnome-shell-theme.gresource.old /usr/share/gnome-shell/gnome-shell-theme.gresource
}

View file

@ -0,0 +1,3 @@
user-db:user
system-db:gdm
file-db:/usr/share/gdm/greeter-dconf-defaults