blob: ff21a3c74c1c1c1c3062dbe276c362f4629f0485 (
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
|
# Maintainer: BrainDamage
pkgname="diagram-git"
pkgver=0.2.23.r10.gc6895c1
pkgrel=3
pkgdesc="Text mode diagrams using UTF-8 characters and fancy colors"
arch=(any)
url="https://github.com/tehmaze/diagram"
license=("MIT")
depends=("python")
makedepends=('git' 'python-setuptools')
md5sums=("SKIP")
source=("git+https://github.com/tehmaze/diagram.git")
pkgver() {
cd "diagram"
git describe --tags | sed 's/^v//; s/-/.r/; s/-/./'
}
build () {
cd "diagram"
python setup.py build
}
package() {
cd "diagram"
python setup.py install --root="$pkgdir/" --prefix="/usr"
}
|