commit
c71c3938c6
4 changed files with 19 additions and 11 deletions
12
PKGBUILD
12
PKGBUILD
|
@ -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
|
||||
}
|
||||
|
|
2
build.sh
2
build.sh
|
@ -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
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