summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3687aec5f9939efa211d80c40b23811a7217e3f2 (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.1
pkgrel=0
pkgdesc="Rule-based screen temperature changer (based on 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
}