# Maintainer: Hugo Osvaldo Barrera pkgname=caffeine-ng pkgver=3.5.0 pkgrel=1 pkgdesc="Status bar application able to temporarily inhibit the screensaver and sleep mode." arch=(any) url="https://github.com/caffeine-ng/caffeine-ng" license=(GPL3) depends=(python-gobject python-xdg python-dbus python-docopt python-ewmh gtk3 libnotify python-setproctitle python-setuptools python-wheel) optdepends=("libappindicator-gtk3: AppIndictor support (eg: Plasma, Unity).") conflicts=(caffeine caffeine-bzr caffeine-oneclick caffeine-systray) provides=(caffeine caffeine-bzr caffeine-oneclick caffeine-systray) replaces=(caffeine-oneclick caffeine-systray) options=(!emptydirs !libtool) source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") md5sums=('26fa6c3640fbe1f92c32cab80a3f7915') build() { cd "$srcdir"/caffeine-ng-${pkgver} python setup.py build } package() { cd "$srcdir"/caffeine-ng-${pkgver} python setup.py install --root="$pkgdir" }