mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
838 B
Bash
31 lines
838 B
Bash
pkgname=redshift
|
|
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')
|
|
source=("https://github.com/jonls/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
|
|
sha256sums=('d2f8c5300e3ce2a84fe6584d2f1483aa9eadc668ab1951b2c2b8a03ece3a22ba')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --disable-gui \
|
|
--disable-ubuntu \
|
|
--enable-drm \
|
|
--enable-randr \
|
|
--enable-vidmode \
|
|
--enable-geoclue2 \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
rm $pkgdir/usr/lib/systemd/user/$pkgname-gtk.service
|
|
}
|
|
|