summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5fd56d4cc297738a55a9e2095b3bd51258dde02 (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
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Florian B. gn0mish@protonmail.com

pkgname="powerline-shell-git"
_pkgname="powerline-shell"
pkgver=r588.4b19aa4
pkgrel=2
pkgdesc="A pretty prompt for your shell"
arch=("any")
_giturl="://github.com/b-ryan/powerline-shell"
url="https${_giturl}"
license=("MIT")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
depends=("python")
makedepends=(
  "git" "python-setuptools"
)
source=(
  "git+http${_giturl}.git"
)
md5sums=('SKIP')

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

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