summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9209cf3ca085b00ff20c7d42736839faffa0ce93 (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: Sebastien Bariteau <numkem@gmail.com>

pkgname=i3pystatus
pkgdesc="i3status replacement written in python for the i3 window manager"
pkgver=3.32
pkgrel=1
arch=('i686' 'x86_64')
license=('mit')
depends=('python')
makedepends=('python-setuptools')
optdepends=('python-pyalsaaudio: For the alsa module.',
            'python-dbus: For the thunderbird or now_playing modules.',
            'python-psutil: For the mem, membar or network_traffic modules.',
            'python-netifaces: For the network or wireless modules.',
            'python-beautifulsoup4: For the parcel module.',
            'python-cssselect: For the parcel module.',
            'python-lxml: For the parcel module.',
            'python-pywapi: For the weather module.',
            'python-basiciw: For the wireless module.'
            'python-colour: For the pulseaudio module.')
url="https://github.com/enkore/i3pystatus"
source=("https://github.com/enkore/i3pystatus/archive/$pkgver.tar.gz")
md5sums=('28bd78db1c53576781383a1c6111ea3a')

build() {
  cd "$srcdir/${pkgname}-${pkgver}"
  python setup.py build
}

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