# $Id: PKGBUILD 107684 2014-03-18 15:00:46Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>

pkgname=variety
pkgver=0.4.17
pkgrel=2
pkgdesc='Changes the wallpaper on a regular interval using user-specified or automatically downloaded images.'
url="http://peterlevi.com/variety/"
arch=('any')
license=('GPL3')
depends=('gtk3' 'imagemagick' 'libnotify' 'libwebkit' 'python2-beautifulsoup4'
         'python2-cairo' 'python2-configobj' 'python2-dbus' 'python2-exiv2'
         'python2-gobject' 'python2-httplib2' 'python2-imaging' 'python2-lxml'
         'python2-pycurl' 'python2-six' 'yelp')
makedepends=('python2-distutils-extra')
source=("https://launchpad.net/variety/trunk/${pkgver}/+download/${pkgname}_${pkgver}.tar.gz")
md5sums=('077ac75c5d93d6b4c98c1a56477f40f2')
install=${pkgname}.install

package() {
    cd "${srcdir}/${pkgname}"
    python2 setup.py install --root="${pkgdir}" --optimize=1
}
