summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD23
-rw-r--r--ditaa-eps3
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fb724662bbc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = ditaa-eps
+ pkgdesc = Same as ditaa, but converts output to scalable EPS graphics. Great in LaTeX ;-)
+ pkgver = 0.2
+ pkgrel = 1
+ url = http://ditaa-addons.sourceforge.net/
+ arch = any
+ groups = office
+ license = GPL
+ depends = bash
+ depends = java-environment
+ provides = ditaa-eps
+ conflicts = ditaa-eps
+ source = ditaa-eps
+ source = http://downloads.sourceforge.net/ditaa-addons/DitaaEps-0_2.zip
+ md5sums = 3730b3b7300f4d16dd77be9605c25c4d
+ md5sums = 5eeff234aadf31728f96f6c56cbba0a8
+
+pkgname = ditaa-eps
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e5bf272bde3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: bitwave <aur [at] oomlude [dOT] de>
+pkgname=ditaa-eps
+pkgver=0.2
+pkgrel=1
+pkgdesc="Same as ditaa, but converts output to scalable EPS graphics. Great in LaTeX ;-)"
+arch=(any)
+url="http://ditaa-addons.sourceforge.net/"
+license=('GPL')
+groups=(office)
+depends=("bash" "java-environment")
+provides=("ditaa-eps")
+conflicts=("ditaa-eps")
+source=(ditaa-eps "http://downloads.sourceforge.net/ditaa-addons/DitaaEps-0_2.zip")
+md5sums=('3730b3b7300f4d16dd77be9605c25c4d'
+ '5eeff234aadf31728f96f6c56cbba0a8')
+
+package() {
+ cd "$srcdir/DitaaEps"
+ mkdir -p $pkgdir/usr/share/java/$pkgname
+ install -Dm 644 ditaa0_6b.jar $pkgdir/usr/share/java/$pkgname/
+ install -Dm 644 DitaaEps.jar $pkgdir/usr/share/java/$pkgname/
+ install -Dm 755 $srcdir/ditaa-eps $pkgdir/usr/bin/ditaa-eps
+}
diff --git a/ditaa-eps b/ditaa-eps
new file mode 100644
index 00000000000..74e51618689
--- /dev/null
+++ b/ditaa-eps
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+java -jar /usr/share/java/ditaa-eps/DitaaEps.jar "$@" \ No newline at end of file