gnome-parch/PKGBUILD

37 lines
1.2 KiB
Text
Raw Normal View History

2023-11-13 01:19:35 +03:30
pkgname=gnome-parch
_destname1="/etc"
_destname2="/usr"
pkgver=3.0.0
pkgrel=1
2023-11-13 01:19:35 +03:30
pkgdesc="parch linux gnome config"
arch=("any")
url="https://github.com/parchlinux"
license=("GPL")
makedepends=('git')
conflicts=()
provides=("${pkgname}")
options=(!strip !emptydirs)
source=("rootfs.zip")
2023-11-13 01:19:35 +03:30
sha256sums=('SKIP')
2024-03-24 20:10:43 +03:30
deps=("gnome-shell" "papirus-icon-theme" "parch-gnome-backgrounds" "orchis-theme")
2023-11-13 01:19:35 +03:30
package() {
install -dm755 ${pkgdir}${_destname1}
cp -r ${srcdir}${_destname1}/* ${pkgdir}${_destname1}
2023-11-13 01:19:35 +03:30
install -dm755 ${pkgdir}${_destname2}
cp -r ${srcdir}${_destname2}/* ${pkgdir}${_destname2}
chmod 544 ${pkgdir}/usr/share/gnome-shell/parch-gnome-shell-theme.gresource
chmod 544 ${pkgdir}/etc/dconf/db/gdm.d/95-parch-gdm-config
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
2023-11-13 01:19:35 +03:30
}