blob: 443ef95cb5a4d6df42dbc824c8c3fe633ea58784 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Martin Filion <mordillo98@gmail.com>
# Contributor: Tim Diels <timdiels.m@gmail.com>
# Contributor: Fetid Frog <fetidfrog at gmail dot com>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
pkgname=batti
pkgver=0.3.8
pkgrel=7
pkgdesc='Simple battery monitor for the system tray'
arch=('any')
url='https://addons.videolan.org/p/1130246/'
license=('GPL')
depends=('dbus-python' 'pygtk' 'gtk2' 'upower' 'hicolor-icon-theme')
optdepends=('notification-daemon: for power status notifications' 'xfce4-notifyd: alternative to notification-daemon')
install="$pkgname.install"
conflicts=('batti-icons')
source=('https://sourceforge.net/projects/archbangretro/files/batti-0.3.8.tar.gz' 'upower-0.99.patch')
md5sums=('4b239ead1643c95a6d89c380bc167781'
'237c98190cfd5725c9f5483c770a7763')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 -i "$srcdir/upower-0.99.patch"
}
package() {
cd "$pkgname-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
}
# vim:set ts=2 sw=2 et:
|