desktop/redshift/PKGBUILD
2017-11-30 16:56:08 +00:00

28 lines
741 B
Bash

pkgname=redshift
pkgver=1.11
pkgrel=2
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 $pkgname-$pkgver
./configure --disable-gui \
--disable-ubuntu \
--disable-drm \
--prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
rm $pkgdir/usr/lib/systemd/user/$pkgname-gtk.service
}