# Maintainer: SiƓn le Roux # Please submit issues or merge-requests at: # https://github.com/sionleroux/PKGBUILD-yuml pkgname=yuml pkgver=r46.62d6bb3 # generated by pkgver() below pkgrel=1 pkgdesc="An unofficial command line client for the yUML web app" arch=('any') url="https://github.com/wandernauta/yuml" license=('ISC') depends=('python') makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("${pkgname%-git}::git+https://github.com/wandernauta/yuml.git") md5sums=('SKIP') pkgver() { # Git, no tags available cd "$srcdir/${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$srcdir/${pkgname%-git}" python setup.py clean --all python setup.py build } package() { cd "$srcdir/${pkgname%-git}" python setup.py install --root "${pkgdir}/" }