forked from ports/contrib
20 lines
646 B
Plaintext
20 lines
646 B
Plaintext
# 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
|
|
# Depends on: glib xorg-libxrandr xorg-libxxf86vm
|
|
|
|
name=f.lux
|
|
version=1.2.0
|
|
release=1
|
|
source=(https://github.com/xflux-gui/fluxgui/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd fluxgui-$version
|
|
/usr/bin/python3 setup.py install --prefix=$PKG/usr
|
|
|
|
# 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 '{}' \;
|
|
rm -r $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
|
|
}
|