summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrainDamage2015-06-08 18:09:50 +0200
committerBrainDamage2015-06-08 18:09:50 +0200
commit90ac26ce975d11272ed2cce7c34880652bb8f269 (patch)
tree8fbd6533b59eeef456da6d8b39014a568cbaf113
downloadaur-90ac26ce975d11272ed2cce7c34880652bb8f269.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD26
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d3262d4e844
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = diagram-git
+ pkgdesc = Text mode diagrams using UTF-8 characters and fancy colors
+ pkgver = 0.2.23.r10.gc6895c1
+ pkgrel = 1
+ url = https://github.com/tehmaze/diagram
+ arch = any
+ license = MIT
+ depends = python
+ source = git+https://github.com/tehmaze/diagram.git
+ md5sums = SKIP
+
+pkgname = diagram-git
+
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