summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD33
-rwxr-xr-xorigami-editor-3d2
-rw-r--r--origami-editor-3d-icon.pngbin0 -> 3173 bytes
-rw-r--r--origami-editor-3d.desktop11
6 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2fcf5cbf2dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = origami-editor-3d
+ pkgdesc = Virtual paper folding program
+ pkgver = 1.3.5
+ pkgrel = 1
+ url = https://sourceforge.net/projects/origamieditor3d/
+ arch = any
+ license = GPL3
+ depends = bash
+ depends = java-environment
+ depends = hicolor-icon-theme
+ options = !strip
+ source = http://downloads.sourceforge.net/project/origamieditor3d/v1.3.5/OrigamiEditor3D.jar
+ source = origami-editor-3d
+ source = origami-editor-3d-icon.png
+ source = origami-editor-3d.desktop
+ sha256sums = 42120355abe26e540cc2cb6e5c3f66136d331499e740024b55ca7cd7c521a98e
+ sha256sums = 1d9cbfa2c678c156b4a49ae7d4f1a6fd2ccaca7e9d9544aeb62443eb80aab2bb
+ sha256sums = 681efe397e4e6581425c15d1afdc099b7f814743b131516fb6c25cb85229d052
+ sha256sums = 210e9d807b81546d88d02431552604f550b482ad7f8a0a4ce517f1f6d20f81d5
+
+pkgname = origami-editor-3d
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e9a80780676
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+/*.pkg.tar.xz
+/*.jar
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bcd0e6fe874
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Raimar Buehmann <raimar _at_ buehmann _dot_ de>
+
+pkgname=origami-editor-3d
+pkgver=1.3.5
+_buildtime=1506780703
+pkgrel=1
+pkgdesc="Virtual paper folding program"
+arch=('any')
+url="https://sourceforge.net/projects/origamieditor3d/"
+license=('GPL3')
+depends=('bash' 'java-environment' 'hicolor-icon-theme')
+options=('!strip')
+# https://downloads.sourceforge.net/project/origamieditor3d/v1.3.5/OrigamiEditor3D.jar?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Forigamieditor3d%2F&ts=1506780703&use_mirror=netix
+# https://downloads.sourceforge.net/project/origamieditor3d/v1.3.5/OrigamiEditor3D.jar?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Forigamieditor3d%2Ffiles%2Fv1.3.5%2F&ts=1506781254&use_mirror=netix
+# http://sourceforge.net/projects/eclipse-cs/files/latest/download?source=files
+source=("http://downloads.sourceforge.net/project/origamieditor3d/v${pkgver}/OrigamiEditor3D.jar"
+ $pkgname
+ $pkgname-icon.png
+ $pkgname.desktop
+)
+sha256sums=('42120355abe26e540cc2cb6e5c3f66136d331499e740024b55ca7cd7c521a98e'
+ '1d9cbfa2c678c156b4a49ae7d4f1a6fd2ccaca7e9d9544aeb62443eb80aab2bb'
+ '681efe397e4e6581425c15d1afdc099b7f814743b131516fb6c25cb85229d052'
+ '210e9d807b81546d88d02431552604f550b482ad7f8a0a4ce517f1f6d20f81d5')
+
+package() {
+ # icon, starter shell script, desktop menu entry
+ install -Dm644 ../$pkgname-icon.png $pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname-icon.png
+ install -Dm755 ../$pkgname $pkgdir/usr/bin/$pkgname
+ install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+ install -Dm644 OrigamiEditor3D.jar $pkgdir/usr/lib/${pkgname}/OrigamiEditor3D.jar
+}
+
diff --git a/origami-editor-3d b/origami-editor-3d
new file mode 100755
index 00000000000..fcc63878d11
--- /dev/null
+++ b/origami-editor-3d
@@ -0,0 +1,2 @@
+#!/bin/bash
+java -jar /usr/lib/origami-editor-3d/OrigamiEditor3D.jar
diff --git a/origami-editor-3d-icon.png b/origami-editor-3d-icon.png
new file mode 100644
index 00000000000..436d9867b61
--- /dev/null
+++ b/origami-editor-3d-icon.png
Binary files differ
diff --git a/origami-editor-3d.desktop b/origami-editor-3d.desktop
new file mode 100644
index 00000000000..3fb71bacc4a
--- /dev/null
+++ b/origami-editor-3d.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Origami Editor 3D
+Comment=Virtual paper folding program
+Comment[de]=Virtuelles Papierfalten Programm
+Exec=origami-editor-3d
+Icon=origami-editor-3d-icon
+Terminal=false
+Type=Application
+Categories=Graphics;Science;
+StartupNotify=true
+