[arch-commits] Commit in redshift/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Dec 3 00:34:39 UTC 2021
Date: Friday, December 3, 2021 @ 00:34:39
Author: felixonmars
Revision: 1063871
archrelease: copy trunk to community-staging-x86_64
Added:
redshift/repos/community-staging-x86_64/
redshift/repos/community-staging-x86_64/PKGBUILD
(from rev 1063868, redshift/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: redshift/repos/community-staging-x86_64/PKGBUILD (from rev 1063868, redshift/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-12-03 00:34:39 UTC (rev 1063871)
@@ -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=5
+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