-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
30 lines (26 loc) · 973 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
pkgname=parch-gdm-settings
pkgver=0.1
pkgrel=4
pkgdesc="Parch settings and theme for gdm"
arch=('any')
url="https://github.com/parchlinuxb/parch-gdm-settings"
license=("GPL-3.0")
depends=("gnome-parch")
source=("rootfs.zip")
sha256sums=('SKIP')
package() {
cp -r * $pkgdir
chmod 544 /usr/share/gnome-shell/gnome-shell-theme.gresource
chmod 544 /etc/dconf/db/gdm.d/95-parch-gdm-config
chmod 544 /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 /usr/share/gnome-shell/gnome-shell-theme.gresource
chmod 544 /etc/dconf/db/gdm.d/95-parch-gdm-config
chmod 544 /etc/gdm/gdm-login-logo
}
pre_remove(){
mv /usr/share/gnome-shell/gnome-shell-theme.gresource.old /usr/share/gnome-shell/gnome-shell-theme.gresource
}