gconf-package/PKGBUILD

62 lines
2.2 KiB
Bash
Raw Normal View History

2019-10-26 20:51:00 +00:00
# Maintainer: davedatum <trom@davedatum.com>
pkgbase=tromjaro-settings
2019-10-26 20:54:19 +00:00
pkgname=("tromjaro-settings" "tromjaro-branding")
2019-10-26 20:51:00 +00:00
pkgver=1.0
pkgrel=1
arch=("any")
2019-10-26 20:54:19 +00:00
url="https://gitlab.com/tromsite/tromjaro/gnome-settings"
2019-10-26 20:51:00 +00:00
license=("GPL")
2019-10-26 20:54:19 +00:00
source=("tromjaro-settings::git+$url.git"
2019-10-26 20:51:00 +00:00
"artwork::git+https://gitlab.com/tromsite/tromjaro/artwork.git"
2019-10-28 13:57:18 +00:00
"calamares-settings::git+https://gitlab.com/tromsite/tromjaro/calamares-settings.git"
2019-10-26 20:51:00 +00:00
"tromjaro-branding-install.hook"
"tromjaro-branding-remove.hook")
makedepends=("git")
2019-10-26 20:54:19 +00:00
sha256sums=('SKIP'
2019-10-28 13:57:18 +00:00
'SKIP'
2019-10-26 21:10:04 +00:00
'SKIP'
'85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a'
'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5')
2019-10-26 20:51:00 +00:00
_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() {
2019-10-26 20:54:19 +00:00
pkgname=tromjaro-branding
2019-10-26 20:51:00 +00:00
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
2019-10-26 21:10:46 +00:00
install -Dm644 ${srcdir}/tromjaro-branding-install.hook ${pkgdir}/usr/share/libalpm/hooks/tromjaro-branding-install.hook
install -Dm644 ${srcdir}/tromjaro-branding-remove.hook ${pkgdir}/usr/share/libalpm/hooks/tromjaro-branding-remove.hook
2019-10-28 13:57:18 +00:00
2019-10-28 14:05:32 +00:00
install -d $pkgdir/etc
cp -r ${srcdir}/calamares-settings/calamares ${pkgdir}/etc
2019-10-26 20:51:00 +00:00
}