blob: 955aa5e090dd2e5d613d43f0f121df490607b80c (
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: Stephen Smith <stephen304@gmail.com>
pkgname=caffeine-bzr
pkgver=r691
pkgrel=1
pkgdesc="A easy way to control powersaving on your desktop."
arch=(any)
url="https://launchpad.net/caffeine"
license=(GPL3)
depends=(python-gobject python-ewmh libappindicator-gtk3)
makedepends=(bzr)
conflicts=(caffeine caffeine-ng caffeine-oneclick caffeine-systray)
provides=(caffeine caffeine-ng caffeine-oneclick caffeine-systray)
replaces=(caffeine-oneclick caffeine-systray)
options=(!emptydirs !libtool)
source=("$pkgname::bzr+https://code.launchpad.net/~caffeine-developers/caffeine/main")
md5sums=('SKIP')
pkgver() {
cd "$srcdir"/"$pkgname"
printf "r%s" "$(bzr revno)"
}
build() {
cd "$srcdir"/"$pkgname"
python setup.py build
}
package() {
cd "$srcdir"/"$pkgname"
python setup.py install --root="$pkgdir" --optimize=1
}
|