gconf-package/PKGBUILD
davedatum 29f398e1fd #
2019-10-26 22:04:57 +01:00

57 lines
1.9 KiB
Bash

# Maintainer: davedatum <trom@davedatum.com>
pkgbase=tromjaro-settings
pkgname=("tromjaro-settings" "tromjaro-branding")
pkgver=1.0
pkgrel=1
arch=("any")
url="https://gitlab.com/tromsite/tromjaro/gnome-settings"
license=("GPL")
source=("tromjaro-settings::git+$url.git"
"artwork::git+https://gitlab.com/tromsite/tromjaro/artwork.git"
"tromjaro-branding-install.hook"
"tromjaro-branding-remove.hook")
makedepends=("git")
sha256sums=('SKIP'
'SKIP'
'7454824c434aff0d21f1facc2d528259'
'057294998db3bda270e389412307b110')
_inst_dir(){
install -d $pkgdir/etc
cp -r $srcdir/$pkgbase/skel $pkgdir/etc
install -dm700 ${srcdir}/${pkgbase}/skel/.mozilla ${pkgdir}/etc/skel/.mozilla
install -dm700 ${srcdir}/${pkgbase}/skel/.config/libreoffice/4 ${pkgdir}/etc/skel/.config/libreoffice/4
install -d $pkgdir/usr/share/glib-2.0/schemas
cp $srcdir/$pkgbase/schemas/99_tromjaro-settings.gschema.override $pkgdir/usr/share/glib-2.0/schemas
}
package_tromjaro-settings() {
pkgname=tromjaro-settings
pkgdesc="TROMjaro Settings"
depends=('gnome-shell')
_inst_dir
install -Dm644 ${srcdir}/${pkgbase}/schemas/user ${pkgdir}/etc/dconf/profile/user
install -Dm644 ${srcdir}/${pkgbase}/schemas/10_tromjaro-defaults ${pkgdir}/etc/dconf/db/site.d/10_tromjaro-defaults
}
package_tromjaro-branding() {
pkgname=tromjaro-branding
pkgdesc="TROMjaro Branding"
depends=('gnome-shell' 'dconf')
install -Dm644 ${srcdir}/${pkgbase}/schemas/gdm ${pkgdir}/etc/dconf/profile/gdm
install -Dm644 ${srcdir}/${pkgbase}/schemas/10_tromjaro-branding ${pkgdir}/etc/dconf/db/gdm.d/10_tromjaro-branding
install -Dm644 ${srcdir}/artwork/tromjaro-logo.png ${pkgdir}/usr/share/icons/manjaro/maia/tromjaro-logo.png
install -Dm644 ${srcdir}/tromjaro-gdm-branding-install.hook ${pkgdir}/usr/share/libalpm/hooks/tromjaro-branding-install.hook
install -Dm644 ${srcdir}/tromjaro-gdm-branding-remove.hook ${pkgdir}/usr/share/libalpm/hooks/tromjaro-branding-remove.hook
}