desktop/redshift/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

27 lines
790 B
Bash

pkgname=redshift
pkgver=1.11
pkgrel=1
pkgdesc='Adjusts the color temperature of your screen according to your surroundings'
arch=('x86_64')
url='http://jonls.dk/redshift/'
license=('GPL3')
depends=('libxxf86vm' 'libdrm' 'libxcb' 'geoclue')
makedepends=('python3' 'intltool')
source=("https://github.com/jonls/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('10e350f93951c0521dd6f103d67a485972c307214f036e009acea2978fe4f359')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --disable-gui \
--disable-ubuntu \
--disable-drm \
--prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm "${pkgdir}/usr/lib/systemd/user/${pkgname}-gtk.service"
}