2014-05-09 23:00:02 +02:00
|
|
|
# Description: makes the color of your display adapt to the time of day
|
|
|
|
# URL: https://justgetflux.com
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2020-05-25 19:31:08 +00:00
|
|
|
# Depends on: glib xorg-libxrandr xorg-libxxf86vm
|
2014-05-09 23:00:02 +02:00
|
|
|
|
|
|
|
name=f.lux
|
2020-05-25 19:31:08 +00:00
|
|
|
version=1.2.0
|
2014-05-09 23:00:02 +02:00
|
|
|
release=1
|
2020-05-25 19:31:08 +00:00
|
|
|
source=(https://github.com/xflux-gui/fluxgui/archive/v$version/$name-$version.tar.gz)
|
2014-05-09 23:00:02 +02:00
|
|
|
|
|
|
|
build() {
|
2020-05-25 19:31:08 +00:00
|
|
|
cd fluxgui-$version
|
|
|
|
/usr/bin/python3 setup.py install --prefix=$PKG/usr
|
2014-05-09 23:00:02 +02:00
|
|
|
|
|
|
|
# fix possible umask issues
|
|
|
|
find $PKG/usr -type f -exec chmod a+r '{}' \;
|
|
|
|
find $PKG/usr/bin $PKG/usr/share/applications -type f -exec chmod a+rx '{}' \;
|
2020-05-28 10:11:51 +00:00
|
|
|
rm -r $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
|
2014-05-09 23:00:02 +02:00
|
|
|
}
|