added tromjaro-iio-sensor-proxy.install for iio-sensor-proxy

This commit is contained in:
davedatum 2019-11-18 21:00:32 +00:00
parent 4723b61e83
commit d61018ff87
5 changed files with 24 additions and 7 deletions

View File

@ -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

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
*
!tromjaro-iio-sensor-proxy.install
!tromjaro-branding-remove.hook
!tromjaro-logo.png
!tromjaro-branding-install.hook

View File

@ -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"

View File

@ -1,5 +1,5 @@
post_install() {
chmod +x /usr/bin/tromjaro-gnome-shell-fix
chmod +x /usr/bin/tromjaro-gnome-shell-fix
}
post_upgrade() {

View File

@ -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
}