summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRanieri Althoff2017-06-22 01:11:11 -0300
committerRanieri Althoff2017-06-22 01:11:11 -0300
commit4cc5a9fb800b5a55cc14ab96962810e324613ffd (patch)
tree0147dfa3140a290c714b9c8108b5d9796f209a81
downloadaur-4cc5a9fb800b5a55cc14ab96962810e324613ffd.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore19
-rw-r--r--PKGBUILD42
3 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..18f922365e4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Jun 22 04:10:12 UTC 2017
+pkgbase = redshift-minimal-git
+ pkgdesc = Adjusts the color temperature of your screen according to your surroundings, with minimal dependencies (development version)
+ pkgver = 1.11.r31.gd51c25e
+ pkgrel = 1
+ url = http://jonls.dk/redshift/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = intltool
+ depends = libxxf86vm
+ provides = redshift
+ conflicts = redshift
+ source = redshift::git+https://github.com/jonls/redshift.git
+ sha256sums = SKIP
+
+pkgname = redshift-minimal-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..92d3543c2fe
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,19 @@
+
+# Created by https://www.gitignore.io/api/archlinuxpackages
+
+### ArchLinuxPackages ###
+*.tar
+*.tar.*
+*.jar
+*.exe
+*.msi
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+pkg/
+src/
+
+# End of https://www.gitignore.io/api/archlinuxpackages
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6cb7d280c4f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Ranieri Althoff <ranisalt+aur at gmail dot com>
+
+pkgname=redshift-minimal-git
+pkgver=1.11.r31.gd51c25e
+pkgrel=1
+pkgdesc='Adjusts the color temperature of your screen according to your surroundings, with minimal dependencies (development version)'
+arch=('i686' 'x86_64')
+url='http://jonls.dk/redshift/'
+license=('GPL3')
+depends=('libxxf86vm')
+makedepends=('git' 'intltool')
+provides=('redshift')
+conflicts=('redshift')
+source=(redshift::"git+https://github.com/jonls/redshift.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd redshift
+ git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./g'
+}
+
+build() {
+ cd redshift
+
+ ./bootstrap
+ ./configure \
+ --prefix=/usr \
+ --disable-drm \
+ --disable-geoclue \
+ --disable-geoclue2 \
+ --disable-gui \
+ --disable-ubuntu \
+ --disable-vidmode \
+ --with-systemduserunitdir=/usr/lib/systemd/user \
+
+ make
+}
+
+package() {
+ make -C redshift DESTDIR="$pkgdir" install
+ rm "${pkgdir}/usr/lib/systemd/user/redshift-gtk.service"
+}