aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a5e1a989d1584f98e560ec40e4c773d086a7ed9 (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
# Maintainer: Jan Oliver Oelerich <janoliver@oelerich.org>
# Contributor: Johannes Löthberg <johannes@kyrias.com>

pkgname=i3pystatus-git
pkgdesc="i3status replacement written in python for the i3 window manager"
pkgver=git
pkgrel=1
arch=('i686' 'x86_64')
license=('MIT')
depends=('python' 'basiciw-git' 'python-netifaces-git')
makedepends=('git' 'python-distribute')
url="https://github.com/enkore/i3pystatus.git"
source=('git+https://github.com/enkore/i3pystatus.git')
md5sums=('SKIP')

pkgver() {
	cd i3pystatus
	git describe --always --long | sed 's/^v//; s/-/-r/; s/-/./g'
}

package() {
	cd i3pystatus
	python setup.py install --prefix=/usr --root="$pkgdir"
}

# vim: set ts=2 sts=2 sw=2 noet: