gconf-package/PKGBUILD

75 lines
2.7 KiB
Bash
Raw Normal View History

2019-11-03 15:34:13 +00:00
# Maintainer: davedatum <ask at davedatum dot come>
2019-10-26 20:51:00 +00:00
pkgbase=tromjaro-settings
2019-11-04 15:37:44 +00:00
pkgname=("tromjaro-settings" "tromjaro-branding" "tromjaro-gnome-shell-fix")
2019-11-03 22:33:34 +00:00
pkgver=1.3
2019-10-26 20:51:00 +00:00
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-30 01:49:35 +00:00
"tromjaro-logo.png"
2019-10-26 20:51:00 +00:00
"tromjaro-branding-install.hook"
2019-11-04 15:56:27 +00:00
"tromjaro-branding-remove.hook"
"tromjaro-gnome-shell-fix.install")
2019-10-26 20:51:00 +00:00
makedepends=("git")
2019-10-26 20:54:19 +00:00
sha256sums=('SKIP'
2019-10-30 01:49:35 +00:00
'9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060'
2019-10-26 21:10:04 +00:00
'85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a'
2019-11-04 15:56:27 +00:00
'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5'
'8460dfa2128963acffa75b3a060182e27c9f4e501d2bec948fb0fc8a9bf086b2')
2019-10-26 20:51:00 +00:00
_inst_dir(){
2019-11-03 15:34:13 +00:00
install -d "${pkgdir}/etc"
cp -r "${srcdir}/${pkgbase}/skel" "${pkgdir}/etc/"
2019-10-26 20:51:00 +00:00
2019-11-03 15:34:13 +00:00
chmod -R 755 "${pkgdir}/etc/skel"
2019-10-26 20:51:00 +00:00
}
package_tromjaro-settings() {
pkgname=tromjaro-settings
pkgdesc="TROMjaro Settings"
depends=('gnome-shell')
_inst_dir
2019-11-03 15:34:13 +00:00
install -Dm644 "${srcdir}/${pkgbase}/schemas/99_tromjaro-settings.gschema.override" \
"${pkgdir}/usr/share/glib-2.0/schemas/99_tromjaro-settings.gschema.override"
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"
install -Dm644 "${srcdir}/${pkgbase}/schemas/mimeapps.list" "${pkgdir}/usr/share/applications/mimeapps.list"
2019-10-26 20:51:00 +00:00
}
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')
2019-11-03 15:34:13 +00:00
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"
2019-10-26 20:51:00 +00:00
2019-11-03 15:34:13 +00:00
install -Dm644 "${srcdir}/tromjaro-logo.png" "${pkgdir}/usr/share/icons/manjaro/maia/tromjaro-logo.png"
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-26 20:51:00 +00:00
2019-11-03 22:33:34 +00:00
}
2019-11-04 15:26:08 +00:00
2019-11-04 15:37:44 +00:00
package_tromjaro-gnome-shell-fix() {
pkgname=tromjaro-gnome-shell-fix
2019-11-04 15:26:08 +00:00
pkgdesc="fix for gnome extensions disabled on logout"
depends=("gnome-shell")
2019-11-04 15:56:27 +00:00
install=tromjaro-gnome-shell-fix.install
2019-11-04 15:26:08 +00:00
2019-11-04 15:37:44 +00:00
install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.sh" \
"${pkgdir}/usr/bin/tromjaro-gnome-shell-fix"
2019-11-04 15:26:08 +00:00
2019-11-04 15:37:44 +00:00
install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.desktop" \
"${pkgdir}/etc/xdg/autostart/tromjaro-gnome-shell-fix.desktop"
2019-11-04 15:26:08 +00:00
}