blob: a1c4de871d82d1561ffd42ad06e1176b160229f8 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Brett Cornwall <ainola@archlinux.org>
# Contributor: Andrey Solomatin
# Contributor: carstene1ns
# Contributor: Lukas Fleischer
# Contributor: Geoffrey Teale
# Contributor: Mark, Huo Mian
# Contributor: Biginoz
# Contributor: Mattias Andrée
pkgname=redshift-wayland-git
pkgver=1.12.r25.g7da875d
pkgrel=1
pkgdesc='Adjusts the color temperature of your screen according to your surroundings.'
arch=('x86_64')
url='http://jonls.dk/redshift/'
license=('GPL3')
provides=('redshift' 'redshift-sway-git')
conflicts=('redshift' 'redshift-sway-git')
depends=('geoclue2' 'libdrm' 'libxcb' 'libxxf86vm' 'wayland')
optdepends=('python-gobject: for redshift-gtk'
'python-xdg: for redshift-gtk'
'gtk3: for redshift-gtk')
makedepends=('intltool' 'python' 'git')
source=(redshift::"git+https://github.com/minus7/redshift.git#branch=wayland")
md5sums=('SKIP')
pkgver() {
cd redshift
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./g'
}
build() {
cd redshift
./bootstrap
./configure --prefix=/usr \
--enable-drm \
--enable-randr \
--enable-vidmode \
--enable-geoclue2 \
--with-systemduserunitdir=/usr/lib/systemd/user \
--enable-wayland
make
}
package() {
cd redshift
make DESTDIR="$pkgdir" install
}
|