summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78ba676cccaaecde900946fefd22a380b1c5ea33 (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
# Maintainer: willemw <willemw12@gmail.com>

_pkgname=dontwaitup-indicator
pkgname=$_pkgname-bzr
pkgver=r27
pkgrel=1
pkgdesc="Run a command on window event"
url="https://launchpad.net/dontwaitup"
license=('GPL3')
arch=('any')
depends=('gtk3' 'libappindicator-gtk3' 'libnotify' 'libwnck3' 'python2-gobject' 'yelp')
#optdepends=('libnotify: notify-send')
makedepends=('bzr' 'python2-distutils-extra')
provides=($_pkgname)
conflicts=($_pkgname)
install=$pkgname.install
source=($pkgname::bzr+https://code.launchpad.net/~alessandro-blarco/dontwaitup/trunk)
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  printf "r%s" "$(bzr revno)"
}

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