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
    chmod +x /usr/local/bin/pdconf
}

pre_remove() {
    mv /usr/share/gnome-shell/gnome-shell-theme.gresource.old /usr/share/gnome-shell/gnome-shell-theme.gresource
}

post_upgrade() {
    post_install
}
