summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorByeonghoon Yoo2020-08-24 01:25:34 +0900
committerByeonghoon Yoo2020-08-24 01:25:34 +0900
commitbe5152b393afc3ee8a13146e18470b7b435d34cc (patch)
tree746891cb6f4b5bfa62db97837dab20ba52d3466f
parent5516226c86b800ee7b80e22d535a74f26102f70b (diff)
downloadaur-be5152b393afc3ee8a13146e18470b7b435d34cc.tar.gz
Add gschema
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 81e24887e9f5..718143930f83 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnome-shell-extension-autohide-battery
pkgdesc = GNOME Shell extension to hide battery icon, if battery is fully charged and AC is connected
pkgver = 17
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ai/autohide-battery
install = gschemas.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 04f419ba7b0b..6fb09b9842f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=autohide-battery
pkgname=gnome-shell-extension-${_pkgname}
pkgver=17
-pkgrel=1
+pkgrel=2
pkgdesc="GNOME Shell extension to hide battery icon, if battery is fully charged and AC is connected"
arch=('any')
url="https://github.com/ai/autohide-battery"
@@ -24,6 +24,9 @@ package() {
find . -type f -name "*.js" -exec install -Dm 644 {} ${_destdir}/{} \;
install -Dm 644 metadata.json ${_destdir};
+
+ install -d "$pkgdir/usr/share/glib-2.0/schemas"
+ install -Dm 644 'schemas/ru.sitnik.autohide-battery.gschema.xml' "$pkgdir/usr/share/glib-2.0/schemas/"
}
# vim:set ts=2 sw=2 et: