blob: f6104101c638fabe30cd99b0710f7aafba6c1c0a (
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
32
33
|
# Maintainer: Christopher McAdams <mca.christopher@gmail.com>
pkgname="gnome-shell-extension-night-shift-git"
pkgver=r57.eed57ab
pkgrel=1
pkgdesc="::Rolling release:: Gnome-shell extension to automatically switch themes/modes/styles when the sun sets or sun rises"
arch=('any')
url="https://github.com/christophermca/gnome-shell-extension-night-shift"
license=('GPL-3.0-or-later')
makedepends=('git')
provides=('gnome-shell-extension-night-shift-git'
'get-sunrise-sunset.service'
'get-sunrise-sunset.timer'
'gnome-night-shift.service'
'gnome-night-shift.timer')
conflicts=('gnome-shell-extension-night-shift-git'
'gnome-night-shift-git'
'gnome-mode-shift-git'
'alacritty-use-theme-with-redshift'
'alacritty-use-theme-with-redshift-git')
source=("$pkgname::git+https://github.com/christophermca/gnome-shell-extension-night-shift.git#branch=dev")
sha256sums=('SKIP')
depends=( 'gnome-shell' )
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
cd "$srcdir/$pkgname"
echo "$PWD"
make DESTDIR="$HOME/.local/share/gnome-shell/extensions" install
}
|