gconf-package/PKGBUILD
2020-05-04 15:29:09 +00:00

75 lines
2.8 KiB
Bash

# Maintainer: tio <ask at tromjaro dot com>
pkgbase=tromjaro-settings
pkgname=("tromjaro-settings" "tromjaro-branding" "tromjaro-gnome-shell-fix" "tromjaro-systemd-tweaks")
pkgver=2.9
pkgrel=1
arch=("any")
url="https://gitlab.com/tromsite/tromjaro/gnome-settings"
license=("GPL")
source=("tromjaro-settings::git+$url.git"
"tromjaro-branding-install.hook"
"tromjaro-branding-remove.hook"
"tromjaro-gnome-shell-fix.install"
"tromjaro-iio-sensor-proxy.install")
makedepends=("git")
sha256sums=('SKIP'
'85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a'
'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5'
'0426f63061fb43aaf50ce2882e50ffcce0366d64c5f16a0ba84af5be8e00b4e1'
'1149142417cde75b993bc289f69bb58b5a134e3d4b7ee05b39d84d2ac91d6089')
package_tromjaro-settings() {
pkgname=tromjaro-settings
pkgdesc="TROMjaro Settings"
depends=('gnome-shell' 'iio-sensor-proxy')
install=tromjaro-iio-sensor-proxy.install
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"
}
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}/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"
}
package_tromjaro-gnome-shell-fix() {
pkgname=tromjaro-gnome-shell-fix
pkgdesc="fix for gnome extensions disabled on logout"
depends=("gnome-shell")
install=tromjaro-gnome-shell-fix.install
install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.sh" \
"${pkgdir}/usr/bin/tromjaro-gnome-shell-fix"
install -Dm644 "${srcdir}/${pkgbase}/patches/tromjaro-gnome-shell-fix/tromjaro-gnome-shell-fix.desktop" \
"${pkgdir}/etc/xdg/autostart/tromjaro-gnome-shell-fix.desktop"
}
package_tromjaro-systemd-tweaks() {
pkgname=tromjaro-systemd-tweaks
pkgdesc="custom values for systemd"
depends=("systemd")
install -Dm644 "${srcdir}/${pkgbase}/patches/sysctl.d/99-sysctl.conf" \
"${pkgdir}/etc/sysctl.d/99-sysctl.conf"
}