summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc794fe2b0f4b4ffa59a68a033622639a3fde8e9 (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
# Maintainer: Slavi Pantaleev <slavi at devture.com>

pkgname=redshift-scheduler
pkgver=1.3.0
pkgrel=1
pkgdesc="Rule-based screen temperature changer (like redshift)"
arch=('any')
url="https://github.com/spantaleev/redshift-scheduler"
license=('GPL3')
depends=('redshift' 'glib2>=2.34' 'libgee')
makedepends=('git' 'vala')
source=('git+https://github.com/spantaleev/redshift-scheduler.git#tag='$pkgver)
md5sums=('SKIP')

build() {
	cd "$srcdir/$pkgname"
	/bin/bash build.sh
}

package() {
	cd "$srcdir/$pkgname"
	install -Dm 644 resources/rules.conf.dist $pkgdir/usr/share/redshift-scheduler/rules.conf.dist
	install -Dm 644 resources/redshift-scheduler.desktop $pkgdir/usr/share/applications/redshift-scheduler.desktop
	install -Dm 755 build/redshift-scheduler $pkgdir/usr/bin/redshift-scheduler
}