New package: redshift-1.8 (close #206).
This commit is contained in:
parent
2f81f264fe
commit
a64ad0405c
|
@ -0,0 +1 @@
|
||||||
|
redshift
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Template file for 'redshift'
|
||||||
|
pkgname=redshift
|
||||||
|
version=1.8
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-geoclue"
|
||||||
|
hostmakedepends="pkg-config automake libtool gettext-devel"
|
||||||
|
makedepends="GConf-devel libXxf86vm-devel pygtk-devel pyxdg geoclue-devel>=0.12.0_7"
|
||||||
|
short_desc="Adjusts the color temperature of your screen according to your surroundings"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="http://jonls.dk/redshift/"
|
||||||
|
|
||||||
|
do_fetch() {
|
||||||
|
git clone -b v${version} git://github.com/jonls/redshift.git redshift-${version}
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
./bootstrap
|
||||||
|
}
|
||||||
|
|
||||||
|
redshift-gtk_package() {
|
||||||
|
depends="pygtk pyxdg hicolor-icon-theme desktop-file-utils ${sourcepkg}>=${version}_${revision}"
|
||||||
|
pycompile_module="redshift_gtk"
|
||||||
|
short_desc+=" - GTK+ UI"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/redshift-gtk
|
||||||
|
vmove usr/lib
|
||||||
|
vmove usr/share/applications
|
||||||
|
vmove usr/share/icons
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
redshift_package() {
|
||||||
|
pkg_install() {
|
||||||
|
vmove all
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue