diff options
author | Tony Duco | 2023-04-02 22:09:11 -0400 |
---|---|---|
committer | Tony Duco | 2023-04-02 22:09:11 -0400 |
commit | 5260468294c949bbd4e114d80d215d111c67483e (patch) | |
tree | aaad264f8a0faf48b32ba4cbd8b75a745e968ac4 /PKGBUILD | |
download | aur-5260468294c949bbd4e114d80d215d111c67483e.tar.gz |
version 29
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..eea070a017a6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |