Merge pull request #4 from meshya/main

bug fix
This commit is contained in:
Sohrab Behdani 2024-07-24 21:47:00 +03:30 committed by GitHub
commit c71c3938c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 19 additions and 11 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
}

View file

@ -4,5 +4,5 @@ mkdir build
cd rootfs
zip -r ../build/rootfs.zip ./*
cd ../build
cp ../PKGBUILD .
cp ../PKGBUILD ../gnome-parch.install .
makepkg -sc

13
gnome-parch.install Normal file
View file

@ -0,0 +1,13 @@
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
}
post_upgrade() {
post_install
}

View file

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