summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b5fba33b06e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: BrainDamage
+pkgname="diagram-git"
+pkgver=0.2.23.r10.gc6895c1
+pkgrel=1
+pkgdesc="Text mode diagrams using UTF-8 characters and fancy colors"
+arch=(any)
+url="https://github.com/tehmaze/diagram"
+license=("MIT")
+depends=("python")
+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"
+} \ No newline at end of file