diff options
Diffstat (limited to 'community/redshift/PKGBUILD')
-rw-r--r-- | community/redshift/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/redshift/PKGBUILD b/community/redshift/PKGBUILD new file mode 100644 index 000000000..fbeb4a814 --- /dev/null +++ b/community/redshift/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 31256 2010-10-28 22:51:59Z lfleischer $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Geoffrey Teale <tealeg@stop-squark> +# Contributor: Mark, Huo Mian <markhuomian[at]gmail[dot]com> +# Contributor: Biginoz <biginoz a free dot fr> + +pkgname=redshift +pkgver=1.6 +pkgrel=6 +pkgdesc="Adjusts the color temperature of your screen according to your surroundings." +arch=('i686' 'x86_64') +url='http://jonls.dk/redshift/' +license=('GPL3') +depends=('gconf' 'libxxf86vm') +optdepends=('pyxdg: for gtk-redshift') +makedepends=('python2') +install='redshift.install' +source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2") +md5sums=('bd75b317b8ee492a4483e91a94f2b0c1') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i 's/python/python2/' src/gtk-redshift/gtk-redshift + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |