summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7903ec02121b1531ad6a72f62d1f56f90b8b9d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=python3-asciitree-git
pkgver=r48.29712fb
pkgrel=1
pkgdesc="draws tree structures using characters."
arch=('any')
url="https://github.com/mbr/asciitree"
license=('MIT')
depends=('python3')
makedepends=('git')
source=("$pkgname"::'git+https://github.com/mbr/asciitree.git')
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git describe --always)"
}

package() {
   cd "$srcdir/$pkgname"
   python3 setup.py install --root="$pkgdir/"
}