commit
c71c3938c6
4 changed files with 19 additions and 11 deletions
12
PKGBUILD
12
PKGBUILD
|
@ -2,7 +2,7 @@ pkgname=gnome-parch
|
||||||
_destname1="/etc"
|
_destname1="/etc"
|
||||||
_destname2="/usr"
|
_destname2="/usr"
|
||||||
pkgver=3.0.0
|
pkgver=3.0.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="parch linux gnome config"
|
pkgdesc="parch linux gnome config"
|
||||||
arch=("any")
|
arch=("any")
|
||||||
url="https://github.com/parchlinux"
|
url="https://github.com/parchlinux"
|
||||||
|
@ -11,6 +11,7 @@ makedepends=('git')
|
||||||
conflicts=()
|
conflicts=()
|
||||||
provides=("${pkgname}")
|
provides=("${pkgname}")
|
||||||
options=(!strip !emptydirs)
|
options=(!strip !emptydirs)
|
||||||
|
install=gnome-parch.install
|
||||||
source=("rootfs.zip")
|
source=("rootfs.zip")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
deps=("gnome-shell" "papirus-icon-theme" "parch-gnome-backgrounds" "orchis-theme")
|
deps=("gnome-shell" "papirus-icon-theme" "parch-gnome-backgrounds" "orchis-theme")
|
||||||
|
@ -25,12 +26,3 @@ package() {
|
||||||
chmod 544 ${pkgdir}/etc/gdm/gdm-login-logo
|
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
|
|
||||||
}
|
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -4,5 +4,5 @@ mkdir build
|
||||||
cd rootfs
|
cd rootfs
|
||||||
zip -r ../build/rootfs.zip ./*
|
zip -r ../build/rootfs.zip ./*
|
||||||
cd ../build
|
cd ../build
|
||||||
cp ../PKGBUILD .
|
cp ../PKGBUILD ../gnome-parch.install .
|
||||||
makepkg -sc
|
makepkg -sc
|
||||||
|
|
13
gnome-parch.install
Normal file
13
gnome-parch.install
Normal 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
|
||||||
|
}
|
3
rootfs/etc/dconf/profile/gdm
Normal file
3
rootfs/etc/dconf/profile/gdm
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
user-db:user
|
||||||
|
system-db:gdm
|
||||||
|
file-db:/usr/share/gdm/greeter-dconf-defaults
|
Loading…
Add table
Reference in a new issue