mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
27 lines
790 B
Bash
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"
|
||
|
}
|
||
|
|