[arch-commits] Commit in redshift/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:46:40 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:46:39
  Author: felixonmars
Revision: 752812

archrelease: copy trunk to community-staging-x86_64

Added:
  redshift/repos/community-staging-x86_64/
  redshift/repos/community-staging-x86_64/PKGBUILD
    (from rev 752811, redshift/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: redshift/repos/community-staging-x86_64/PKGBUILD (from rev 752811, redshift/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-12 17:46:39 UTC (rev 752812)
@@ -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=4
+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