diff options
author | Philipp Marmet | 2024-08-29 09:10:44 +0200 |
---|---|---|
committer | Philipp Marmet | 2024-08-29 09:10:44 +0200 |
commit | 7cd071c5ebe7837816d61f04d0b7002fc7e688b7 (patch) | |
tree | 34d8a9f5b3cf73b348bd264b84683ae13c6f139f /PKGBUILD | |
parent | 3cfd6479ce6aaa07fb7d6f25ef8c3b6de7799a8f (diff) | |
download | aur-7cd071c5ebe7837816d61f04d0b7002fc7e688b7.tar.gz |
fix: compile missing schemas and install them
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,7 +1,7 @@ # Maintainer: Philipp Marmet <fujexo@c0d3.ch> pkgname=gnome-shell-extension-headsetcontrol pkgver=47.0 -pkgrel=1 +pkgrel=2 pkgdesc="Gnome Shell Extension to visualize headset status from HeadsetControl " arch=('any') url="https://github.com/ChrisLauinger77/gnome-shell-extension-HeadsetControl" @@ -13,9 +13,11 @@ _extension_name="HeadsetControl@lauinger-clan.de" _source_name="gnome-shell-extension-HeadsetControl" package() { - cd "$_source_name-$pkgver" - gnome-extensions pack "${_extension_name}" --podir="../po" --extra-source="../LICENSE" --force + cd "$_source_name-$pkgver" + glib-compile-schemas "HeadsetControl@lauinger-clan.de/schemas" + gnome-extensions pack "${_extension_name}" --podir="../po" --extra-source="../LICENSE" --force - mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/${_extension_name}" - bsdtar -xvf "${_extension_name}.shell-extension.zip" -C "$pkgdir/usr/share/gnome-shell/extensions/${_extension_name}" + mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/${_extension_name}" + bsdtar -xvf "${_extension_name}.shell-extension.zip" -C "$pkgdir/usr/share/gnome-shell/extensions/${_extension_name}" + cp "HeadsetControl@lauinger-clan.de/schemas/gschemas.compiled" "$pkgdir/usr/share/gnome-shell/extensions/${_extension_name}/schemas/gschemas.compiled" } |