summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df0175b7a66ee4ab5bfad41851fdc61f9d4701c2 (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
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>

pkgname=barpyrus-git
pkgver=r94.fa160c6
pkgrel=2
pkgdesc="A python wrapper for lemonbar/conky"
arch=(any)
url="https://github.com/t-wissmann/barpyrus"
license=('BSD')
depends=('python' 'python-setuptools' 'lemonbar' 'siji-git' 'herbstluftwm')
optdepends=('conky: To use the conky widget')
source=("git+https://github.com/t-wissmann/barpyrus.git")
sha1sums=('SKIP')

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

build() {
  cd barpyrus
  python setup.py build
}

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

# vim:set ts=2 sw=2 et: