From d61018ff87ec504192f60b62f46516e9abbdc186 Mon Sep 17 00:00:00 2001 From: davedatum Date: Mon, 18 Nov 2019 21:00:32 +0000 Subject: [PATCH] added tromjaro-iio-sensor-proxy.install for iio-sensor-proxy --- .SRCINFO | 8 ++++++-- .gitignore | 1 + PKGBUILD | 11 +++++++---- tromjaro-gnome-shell-fix.install | 2 +- tromjaro-iio-sensor-proxy.install | 9 +++++++++ 5 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 tromjaro-iio-sensor-proxy.install diff --git a/.SRCINFO b/.SRCINFO index 7ff5478..9614ec8 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,5 @@ pkgbase = tromjaro-settings - pkgver = 1.3 + pkgver = 1.4 pkgrel = 1 url = https://gitlab.com/tromsite/tromjaro/gnome-settings arch = any @@ -10,15 +10,19 @@ pkgbase = tromjaro-settings source = tromjaro-branding-install.hook source = tromjaro-branding-remove.hook source = tromjaro-gnome-shell-fix.install + source = tromjaro-iio-sensor-proxy.install sha256sums = SKIP sha256sums = 9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060 sha256sums = 85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a sha256sums = d17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5 - sha256sums = 8460dfa2128963acffa75b3a060182e27c9f4e501d2bec948fb0fc8a9bf086b2 + sha256sums = 0426f63061fb43aaf50ce2882e50ffcce0366d64c5f16a0ba84af5be8e00b4e1 + sha256sums = d90084122a00643bef6d305b8eb7c7b896ef03f825c51816e3f35332f0e82868 pkgname = tromjaro-settings pkgdesc = TROMjaro Settings + install = tromjaro-iio-sensor-proxy.install depends = gnome-shell + depends = iio-sensor-proxy pkgname = tromjaro-branding pkgdesc = TROMjaro Branding diff --git a/.gitignore b/.gitignore index ba81f9a..764fe82 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ * +!tromjaro-iio-sensor-proxy.install !tromjaro-branding-remove.hook !tromjaro-logo.png !tromjaro-branding-install.hook diff --git a/PKGBUILD b/PKGBUILD index 7364975..3293f34 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgbase=tromjaro-settings pkgname=("tromjaro-settings" "tromjaro-branding" "tromjaro-gnome-shell-fix") -pkgver=1.3 +pkgver=1.4 pkgrel=1 arch=("any") url="https://gitlab.com/tromsite/tromjaro/gnome-settings" @@ -11,20 +11,23 @@ source=("tromjaro-settings::git+$url.git" "tromjaro-logo.png" "tromjaro-branding-install.hook" "tromjaro-branding-remove.hook" - "tromjaro-gnome-shell-fix.install") + "tromjaro-gnome-shell-fix.install" + "tromjaro-iio-sensor-proxy.install") makedepends=("git") sha256sums=('SKIP' '9c870f664d3e479ddc5ac3752ad92df95f9b07a46382ec2d0b8d20712ee67060' '85ef166fc107808ada7449d23eef9a95861e4311527a741becf27cfbd2f4399a' 'd17518ef6b9635c78fa333487f148570c65005adee684f173c6961dbfab09cd5' - '8460dfa2128963acffa75b3a060182e27c9f4e501d2bec948fb0fc8a9bf086b2') + '0426f63061fb43aaf50ce2882e50ffcce0366d64c5f16a0ba84af5be8e00b4e1' + 'd90084122a00643bef6d305b8eb7c7b896ef03f825c51816e3f35332f0e82868') package_tromjaro-settings() { pkgname=tromjaro-settings pkgdesc="TROMjaro Settings" -depends=('gnome-shell') +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" diff --git a/tromjaro-gnome-shell-fix.install b/tromjaro-gnome-shell-fix.install index 46affc2..63d971a 100644 --- a/tromjaro-gnome-shell-fix.install +++ b/tromjaro-gnome-shell-fix.install @@ -1,5 +1,5 @@ post_install() { - chmod +x /usr/bin/tromjaro-gnome-shell-fix + chmod +x /usr/bin/tromjaro-gnome-shell-fix } post_upgrade() { diff --git a/tromjaro-iio-sensor-proxy.install b/tromjaro-iio-sensor-proxy.install new file mode 100644 index 0000000..08beb27 --- /dev/null +++ b/tromjaro-iio-sensor-proxy.install @@ -0,0 +1,9 @@ +post_install() { + sed \ + -e '/^\(MOZ_USE_XINPUT2 DEFAULT=\).*/{s//\1'1'/;:a;n;ba;q}' \ + -e '$aMOZ_USE_XINPUT2 DEFAULT=1' /etc/security/pam_env.conf +} + +post_upgrade() { + post_install +} \ No newline at end of file