blob: eea070a017a6215509eab9b0e3fb8a020ab0fd8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: nosduco <nosduco at gmail dot com>
pkgname=gnome-shell-extension-hue-lights
_pkgname=hue-lights
pkgver=29
pkgrel=1
epoch=1
pkgdesc="Gnome Shell extension for Philips Hue compatible lights controlled by the Philips Hue Bridge and for controlling Philips Hue HDMI sync box. "
arch=('any')
url="https://github.com/vchlum/hue-lights"
license=('MIT')
depends=('gnome-shell')
makedepends=('intltool' 'gettext' 'git')
_commit=732b1f7ad9f18e246f01fe116bec36f0fcc3f73c
source=("git+https://github.com/vchlum/hue-lights.git#commit=$_commit")
sha512sums=('SKIP')
build() {
cd "${srcdir}"/${_pkgname}
bash release.sh
}
package() {
cd "${srcdir}"/${_pkgname}
_extensiondir="/usr/share/gnome-shell/extensions/hue-lights@chlumskyvaclav.gmail.com"
install -d "$pkgdir$_extensiondir"
bsdtar -x -f hue-lights@chlumskyvaclav.gmail.com.zip -C "$pkgdir$_extensiondir"
install -Dm644 schemas/org.gnome.shell.extensions.hue-lights.gschema.xml -t "$pkgdir/usr/share/glib-2.0/schemas"
}
|