diff options
author | Byeonghoon Yoo | 2020-08-24 01:25:34 +0900 |
---|---|---|
committer | Byeonghoon Yoo | 2020-08-24 01:25:34 +0900 |
commit | be5152b393afc3ee8a13146e18470b7b435d34cc (patch) | |
tree | 746891cb6f4b5bfa62db97837dab20ba52d3466f | |
parent | 5516226c86b800ee7b80e22d535a74f26102f70b (diff) | |
download | aur-be5152b393afc3ee8a13146e18470b7b435d34cc.tar.gz |
Add gschema
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -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 @@ -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: |