summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db621c396f36cd1b722cba3b721c6dd9175fb98e (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
# Maintainer: naspeh <naspeh@ya.ru>

pkgname=tider-git
pkgver=0.0.0
pkgrel=11
pkgdesc='Lightweight time tracker (GTK+)'
arch=('any')
url='http://pusto.org/en/tider/'
license=('BSD')
depends=('python-gobject' 'gtk3' 'libnotify')
makedepends=('git')
provides=('tider')
source=("$pkgname"::'git://github.com/naspeh/tider.git')
sha256sums=('SKIP')

pkgver() {
    cd "$pkgname"
    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$pkgname"
    python setup.py build || return 1
    python setup.py install --root=$pkgdir --optimize=1 || return 1
}