summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD23
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..39f1c25bae5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = redshift-scheduler
+ pkgdesc = Rule-based screen temperature changer (like redshift)
+ pkgver = 1.1.1
+ pkgrel = 1
+ url = https://github.com/spantaleev/redshift-scheduler
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = vala
+ depends = redshift
+ depends = glib2>=2.34
+ depends = libgee
+ source = vcs-repository::git://github.com/spantaleev/redshift-scheduler.git#tag=1.1.1
+ md5sums = SKIP
+
+pkgname = redshift-scheduler
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..ce3fa708fb1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.xz
+*.gz
+pkg
+src
+vcs-repository
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..77fdbade47e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Slavi Pantaleev <s.pantaleev at gmail.com>
+
+pkgname=redshift-scheduler
+pkgver=1.1.1
+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=('vcs-repository::git://github.com/spantaleev/redshift-scheduler.git#tag='$pkgver)
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir/vcs-repository"
+ /bin/bash build.sh
+}
+
+package() {
+ install -Dm 644 $srcdir/vcs-repository/resources/rules.conf.dist $pkgdir/usr/share/redshift-scheduler/rules.conf.dist
+ install -Dm 755 $srcdir/vcs-repository/build/redshift-scheduler $pkgdir/usr/bin/redshift-scheduler
+}