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

pkgname=barpyrus-git
pkgver=r71.42fb779
pkgrel=1
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)"
}

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

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