summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 29c96c0a6c7b83fb4609e30430cf0247b736a0fe (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: Adrián Pérez de Castro <aperez@igalia.com>
pkgname='taskwarrior-indicator-hg'
pkgdesc='Panel indicator for TaskWarrior'
pkgver=r162.afb0e22fcaf8
pkgrel=2
url='http://umonkey.net/projects/task-indicator/index.en.html'
license=('MIT')
arch=('any')
depends=(
	'python2'
	'hicolor-icon-theme'
	'python2-gobject2'
)
optdepends=(
	'libappindicator-gtk2: Application indicator support'
)
source=("${pkgname}::hg+https://bitbucket.org/umonkey/task-indicator")
sha512sums=('SKIP')

pkgver () {
	cd "${pkgname}"
	printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}

package () {
	cd "${pkgname}"
	python2 setup.py install --root="${pkgdir}"
	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}