[trunk] -> [community-staging] 'redshift-1.12-5' add

master
Dudemanguy 10 months ago
parent c6f84c1e49
commit 3dd0b004df
  1. 2
      trunk/PKGBUILD
  2. 33
      x86_64/community-staging/PKGBUILD

@ -6,7 +6,7 @@
pkgname=redshift
pkgver=1.12
pkgrel=4
pkgrel=5
pkgdesc='Adjusts the color temperature of your screen according to your surroundings.'
arch=('x86_64')
url='http://jonls.dk/redshift/'

@ -0,0 +1,33 @@
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Geoffrey Teale <tealeg@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
}
Loading…
Cancel
Save