summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f87dc4bcdd1b5d80b557a45c7c4f9f676a8fd56b (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.2.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
}