summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e4046e75d6c16d626c0ab3c3f8a770551c61e62 (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
30
31
# Maintainer: Alex S. shantanna_at_hotmail_dot_com>

pkgname=gnome-shell-extension-night-light-slider-git
_pkgname=gnome-shell-night-light-slider-extension
pkgver=17.0.r0.g5e5f199
pkgrel=1
pkgdesc="Manage GNOME night light temperature intensity from the panel."
arch=('any')
url="https://github.com/TimurKiyivinski/gnome-shell-night-light-slider-extension"
license=('unknow')
conflicts=('gnome-shell-extension-night-light-slider')
depends=('gnome-shell')
makedepends=('git')
source=('git+https://github.com/TimurKiyivinski/gnome-shell-night-light-slider-extension.git')
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

package() {
  _extid='night-light-slider.timur@linux.com'
  cd "${srcdir}/${_pkgname}"
  
  glib-compile-schemas "${_extid}/schemas"
  rm -rf "${_extid}/schemas/"*.xml

  install -d "${pkgdir}/usr/share/gnome-shell/extensions"
  cp -af "${_extid}" "${pkgdir}/usr/share/gnome-shell/extensions/" 
}