[arch-commits] Commit in redshift/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jul 23 15:19:40 UTC 2018
Date: Monday, July 23, 2018 @ 15:19:39
Author: foutrelis
Revision: 362984
archrelease: copy trunk to community-staging-x86_64
Added:
redshift/repos/community-staging-x86_64/
redshift/repos/community-staging-x86_64/PKGBUILD
(from rev 362983, redshift/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: redshift/repos/community-staging-x86_64/PKGBUILD (from rev 362983, redshift/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-23 15:19:39 UTC (rev 362984)
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Geoffrey Teale <tealeg at stop-squark>
+# Contributor: Mark, Huo Mian <markhuomian[at]gmail[dot]com>
+# Contributor: Biginoz <biginoz a free dot fr>
+# Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=redshift
+pkgver=1.12
+pkgrel=2
+pkgdesc='Adjusts the color temperature of your screen according to your surroundings.'
+arch=('x86_64')
+url='http://jonls.dk/redshift/'
+license=('GPL3')
+depends=('geoclue2' 'libdrm' 'libxcb' 'libxxf86vm')
+optdepends=('python-gobject: for redshift-gtk'
+ 'python-xdg: for redshift-gtk'
+ 'gtk3: for redshift-gtk')
+makedepends=('intltool' 'python')
+source=("https://github.com/jonls/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('5d04f2413dacdf3434cb86f373842462')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --enable-drm --enable-randr --enable-vidmode --enable-geoclue2 \
+ --with-systemduserunitdir=/usr/lib/systemd/user
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list