blob: 100f961ec8d50cefa52a9e83ea067fb457be8964 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Philipp Marmet <fujexo@c0d3.ch>
pkgname=gnome-shell-extension-headsetcontrol
pkgver=47.0
pkgrel=2
pkgdesc="Gnome Shell Extension to visualize headset status from HeadsetControl "
arch=('any')
url="https://github.com/ChrisLauinger77/gnome-shell-extension-HeadsetControl"
license=('GPL')
depends=('gnome-shell' 'headsetcontrol')
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('74026c7d44af477e2115e1e5ba33811024865b11209b6437431f2d2ebc5c59f0')
_extension_name="HeadsetControl@lauinger-clan.de"
_source_name="gnome-shell-extension-HeadsetControl"
package() {
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}"
cp "HeadsetControl@lauinger-clan.de/schemas/gschemas.compiled" "$pkgdir/usr/share/gnome-shell/extensions/${_extension_name}/schemas/gschemas.compiled"
}
|