gconf-package/PKGBUILD

75 lines
2.8 KiB
Bash
Raw Normal View History

2020-03-04 13:40:42 +00:00
# Maintainer: tio <ask at tromjaro dot com>
2019-10-26 20:51:00 +00:00
pkgbase=tromjaro-settings
pkgname=("tromjaro-settings" "tromjaro-branding" "tromjaro-gnome-shell-fix" "tromjaro-systemd-tweaks")
2021-01-19 22:26:47 +00:00
pkgver=4
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-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"
"tromjaro-iio-sensor-proxy.install")
2019-10-26 20:51:00 +00:00
makedepends=("git")
2019-10-26 20:54:19 +00:00
sha256sums=('SKIP'
2019-10-26 21:10:04 +00:00
'85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a'
2019-11-04 15:56:27 +00:00
'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5'
'0426f63061fb43aaf50ce2882e50ffcce0366d64c5f16a0ba84af5be8e00b4e1'
2019-11-18 21:41:13 +00:00
'1149142417cde75b993bc289f69bb58b5a134e3d4b7ee05b39d84d2ac91d6089')
2019-10-26 20:51:00 +00:00
package_tromjaro-settings() {
pkgname=tromjaro-settings
pkgdesc="TROMjaro Settings"
depends=('gnome-shell' 'iio-sensor-proxy')
install=tromjaro-iio-sensor-proxy.install
2019-10-26 20:51:00 +00:00
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-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
2020-02-13 21:31:41 +00:00
}
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"
}