summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2021-12-21 11:54:30 -0700
committerMark Wagie2021-12-21 11:54:30 -0700
commit11ca3da962a3ba93fecc60f638932b605bf3e210 (patch)
tree8a82eec421b1835eeacd436690737143ad21adfe
parent7a108312165b96b27bb266561722a39695b5a257 (diff)
downloadaur-11ca3da962a3ba93fecc60f638932b605bf3e210.tar.gz
install schemas to glib folder
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 151c721f5756..adda0f65bfce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnome-bluetooth-battery-indicator-git
pkgdesc = Gnome-Shell extension displaying battery percentage for bluetooth devices
- pkgver = r34.f5f6f51
- pkgrel = 1
+ pkgver = r36.c793f90
+ pkgrel = 2
url = https://github.com/MichalW/gnome-bluetooth-battery-indicator
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index b934b3c10da4..3ec6fb8600f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}