diff options
author | Mark Wagie | 2021-12-21 11:54:30 -0700 |
---|---|---|
committer | Mark Wagie | 2021-12-21 11:54:30 -0700 |
commit | 11ca3da962a3ba93fecc60f638932b605bf3e210 (patch) | |
tree | 8a82eec421b1835eeacd436690737143ad21adfe /PKGBUILD | |
parent | 7a108312165b96b27bb266561722a39695b5a257 (diff) | |
download | aur-11ca3da962a3ba93fecc60f638932b605bf3e210.tar.gz |
install schemas to glib folder
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=gnome-bluetooth-battery-indicator-git -pkgver=r34.f5f6f51 -pkgrel=1 +pkgver=r36.c793f90 +pkgrel=2 pkgdesc="Gnome-Shell extension displaying battery percentage for bluetooth devices" arch=('any') url="https://github.com/MichalW/gnome-bluetooth-battery-indicator" @@ -44,12 +44,12 @@ package() { bsdtar xvf "$_uuid.shell-extension.zip" -C \ "$pkgdir/usr/share/gnome-shell/extensions/$_uuid/" - install -d "$pkgdir/usr/share/glib-2.0/schemas/" - ln -s "/usr/share/gnome-shell/extensions/$_uuid/schemas/$_schema" \ + install -Dm644 schemas/org.gnome.shell.extensions.bluetooth_battery.gschema.xml -t \ "$pkgdir/usr/share/glib-2.0/schemas/" # Remove unnecessary files find "$pkgdir/usr/share/gnome-shell/extensions/$_uuid/Bluetooth_Headset_Battery_Level" \ -type f ! -name '*.py' -delete rm "$pkgdir/usr/share/gnome-shell/extensions/$_uuid/LICENSE" + rm -rf "$pkgdir/usr/share/gnome-shell/extensions/$_uuid/schemas" } |