desktop/redshift/PKGBUILD

31 lines
838 B
Bash
Raw Normal View History

pkgname=redshift
2018-07-09 04:34:14 +08:00
pkgver=1.12
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')
2017-12-01 00:56:08 +08:00
source=("https://github.com/jonls/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
2018-07-09 04:34:14 +08:00
sha256sums=('d2f8c5300e3ce2a84fe6584d2f1483aa9eadc668ab1951b2c2b8a03ece3a22ba')
build() {
2017-12-01 00:56:08 +08:00
cd $pkgname-$pkgver
./configure --disable-gui \
--disable-ubuntu \
2018-07-09 04:34:14 +08:00
--enable-drm \
--enable-randr \
--enable-vidmode \
--enable-geoclue2 \
--prefix=/usr
make
}
package() {
2017-12-01 00:56:08 +08:00
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
rm $pkgdir/usr/lib/systemd/user/$pkgname-gtk.service
}
2017-12-01 00:56:08 +08:00