summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2bc5ed4e063aecb0d0bb364d7b728f0bc44874c8 (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: Kazuo Teramoto <kaz.rag at gmail dot com>

pkgname=python-urwidtrees-git
pkgver=1.0.2.r35.9142c59
pkgrel=1
pkgdesc="Tree widgets for urwid"
arch=("any")
url="https://github.com/pazz/urwidtrees"
license=("GPL")
depends=("python-urwid>=1.1.0" "python-mock")
makedepends=("git" "python-sphinx")
provides=('python-urwidtrees')
conflicts=('python-urwidtrees')
source=("git+https://github.com/pazz/urwidtrees.git")
sha256sums=('SKIP')

pkgver() {
    cd urwidtrees
    printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

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

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