# Maintainer: Francesco Minnocci # Contributor: Hyacinthe Cartiaux # Contributor: Raziel23 # Contributor: Lukas Fleischer # Contributor: Geoffrey Teale # Contributor: Mark, Huo Mian # Contributor: Biginoz # Contributor: schalox pkgname=redshift-minimal _name=redshift pkgver=1.12 pkgrel=5 pkgdesc="Adjusts the color temperature of your screen according to your surroundings, with minimal dependencies." arch=('i686' 'x86_64') url='http://jonls.dk/redshift/' license=('GPL3') makedepends=('intltool' 'libxcb') depends=('glibc' 'libxcb') conflicts=('redshift') provides=('redshift') source=("https://github.com/jonls/${_name}/releases/download/v${pkgver}/${_name}-${pkgver}.tar.xz") sha256sums=('d2f8c5300e3ce2a84fe6584d2f1483aa9eadc668ab1951b2c2b8a03ece3a22ba') build() { cd "${srcdir}/${_name}-${pkgver}" ./configure --disable-gui --disable-vidmode \ --disable-geoclue2 \ --disable-ubuntu --disable-drm \ --prefix=/usr --with-systemduserunitdir=/usr/lib/systemd/user make } package() { cd "${srcdir}/${_name}-${pkgver}" make DESTDIR="${pkgdir}" install rm "${pkgdir}/usr/lib/systemd/user/${_name}-gtk.service" }