simplified

This commit is contained in:
tiotrom 2021-07-24 21:40:59 +00:00
parent de14e2ae0f
commit 71bebd96a9

View File

@ -7,25 +7,16 @@ pkgrel=1
arch=("any") arch=("any")
url="https://gitlab.com/tromsite/tromjaro/gnome-settings" url="https://gitlab.com/tromsite/tromjaro/gnome-settings"
license=("GPL") license=("GPL")
source=("tromjaro-settings::git+$url.git" 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") makedepends=("git")
sha256sums=('SKIP' sha256sums=('SKIP'
'85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a' '85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a')
'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5'
'0426f63061fb43aaf50ce2882e50ffcce0366d64c5f16a0ba84af5be8e00b4e1'
'1149142417cde75b993bc289f69bb58b5a134e3d4b7ee05b39d84d2ac91d6089')
package_tromjaro-settings() { package_tromjaro-settings() {
pkgname=tromjaro-settings pkgname=tromjaro-settings
pkgdesc="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" \ install -Dm644 "${srcdir}/${pkgbase}/schemas/99_tromjaro-settings.gschema.override" \
"${pkgdir}/usr/share/glib-2.0/schemas/99_tromjaro-settings.gschema.override" "${pkgdir}/usr/share/glib-2.0/schemas/99_tromjaro-settings.gschema.override"
@ -36,39 +27,3 @@ install=tromjaro-iio-sensor-proxy.install
} }
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"
}