blob: ddb383e17de788ad5c3ab29392d5c10abea8e455 (
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
50
|
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: David Runge <dvzrv@archlinux.org>
pkgname=gammastep-git
pkgver=2.0.9.r1.geab8be4
pkgrel=1
pkgdesc="Adjust the color temperature of your screen according to your surroundings."
arch=('x86_64')
url="https://gitlab.com/chinstrap/gammastep"
license=('GPL-3.0-or-later')
provides=('gammastep')
conflicts=('gammastep')
depends=('geoclue' 'glibc' 'hicolor-icon-theme' 'libdrm' 'libx11' 'libxcb'
'libxxf86vm' 'wayland')
makedepends=('git' 'glib2' 'intltool' 'python' 'systemd')
optdepends=('python-gobject: for gammastep-indicator'
'python-xdg: for gammastep-indicator'
'gtk3: for gammastep-indicator'
'libappindicator-gtk3: for gammastep-indicator')
source=("git+https://gitlab.com/chinstrap/gammastep.git")
sha256sums=('SKIP')
pkgver() {
cd gammastep
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir"/gammastep
./bootstrap
}
build() {
cd "$srcdir"/gammastep
./configure --prefix=/usr
make
}
check() {
cd "$srcdir"/gammastep
make -k check
}
package() {
depends+=('glib2' 'libgio-2.0.so' 'libgobject-2.0.so' 'libglib-2.0.so')
cd "$srcdir"/gammastep
make DESTDIR="$pkgdir/" install
install -vDm 644 {CONTRIBUTING,NEWS,README}.md \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}
|