blob: d11d829077bc889c78f171b6c1605dcd03c7a6e8 (
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
|
# Maintainer (Arch): Lukas Fleischer <lfleischer@archlinux.org>
# Contributor (Arch): Geoffrey Teale <tealeg@stop-squark>
# Contributor (Arch): Mark, Huo Mian <markhuomian[at]gmail[dot]com>
# Contributor (Arch): Biginoz <biginoz a free dot fr>
# Contributor (Arch): Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
# Maintainer: André Silva <emulatorman@hyperbola.info>
pkgname=redshift
pkgver=1.12
pkgrel=2.nonprism1
pkgdesc='Adjusts the color temperature of your screen according to your surroundings, without geoclue2 support'
arch=('i686' 'x86_64' 'armv7h')
url='http://jonls.dk/redshift/'
license=('GPL3')
depends=('libdrm' 'libxcb' 'libxxf86vm')
optdepends=('python-gobject: for redshift-gtk'
'python-xdg: for redshift-gtk'
'gtk3: for redshift-gtk')
makedepends=('intltool' 'python')
source=("https://github.com/jonls/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('d2f8c5300e3ce2a84fe6584d2f1483aa9eadc668ab1951b2c2b8a03ece3a22ba')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-drm --enable-randr --enable-vidmode \
--with-systemduserunitdir=/usr/lib/systemd/user
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|