summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaptoxic2015-12-19 03:57:41 -0500
committerkaptoxic2015-12-19 03:57:41 -0500
commitc1dd2d95ad621947f935d1a3c1e95e26ea931bfd (patch)
tree55f275686b09e03ddbee511ee6da15f95f30e530
downloadaur-c1dd2d95ad621947f935d1a3c1e95e26ea931bfd.tar.gz
Revive original package
-rw-r--r--.SRCINFO27
-rw-r--r--LICENSE1
-rw-r--r--PKGBUILD44
-rw-r--r--drakon-editor.desktop9
-rw-r--r--drakon-editor.pngbin0 -> 1699 bytes
-rw-r--r--drakon-editor.sh4
6 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d54426621ed
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+# Generated by mksrcinfo v8
+# Sat Dec 19 08:57:31 UTC 2015
+pkgbase = drakon-editor
+ pkgdesc = A free cross-platform editor for the DRAKON visual language
+ pkgver = 1.25
+ pkgrel = 1
+ url = http://drakon-editor.sourceforge.net/
+ arch = any
+ license = custom:public_domain
+ depends = sqlite-tcl
+ depends = tcllib
+ depends = tk
+ depends = tkimg
+ noextract = drakon_editor1.25.zip
+ source = http://downloads.sourceforge.net/project/drakon-editor/drakon_editor1.25.zip
+ source = drakon-editor.png
+ source = drakon-editor.desktop
+ source = drakon-editor.sh
+ source = LICENSE
+ md5sums = 0568c5a77ff44dd37f133d3fea86d8de
+ md5sums = fff9a96ac0e38d735452e935207d2892
+ md5sums = eadc8e1b7c72f2f6fb438c254fe556e5
+ md5sums = 9a3c1ca7b17a8c2f86545fc974277587
+ md5sums = 155472d3f6036fc8ea0eacabbf442ec4
+
+pkgname = drakon-editor
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000000..ab7b8e5e5b1
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1 @@
+DRAKON Editor is PUBLIC DOMAIN except some third-party components (pdf4tcl, Liberation fonts).
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4b1c52a1773
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Aeternus Atterratio <atterratio (at) Gmail.com>
+
+pkgname=drakon-editor
+pkgver=1.25
+pkgrel=1
+pkgdesc="A free cross-platform editor for the DRAKON visual language"
+arch=('any')
+url="http://drakon-editor.sourceforge.net/"
+license=('custom:public_domain')
+depends=('sqlite-tcl' 'tcllib' 'tk' 'tkimg')
+source=("http://downloads.sourceforge.net/project/${pkgname}/drakon_editor${pkgver}.zip"
+ "${pkgname}.png"
+ "${pkgname}.desktop"
+ "${pkgname}.sh"
+ "LICENSE")
+noextract=("drakon_editor${pkgver}.zip")
+md5sums=('0568c5a77ff44dd37f133d3fea86d8de'
+ 'fff9a96ac0e38d735452e935207d2892'
+ 'eadc8e1b7c72f2f6fb438c254fe556e5'
+ '9a3c1ca7b17a8c2f86545fc974277587'
+ '155472d3f6036fc8ea0eacabbf442ec4')
+
+build() {
+ cd "${srcdir}"
+ mkdir -p "${pkgname}-${pkgver}"
+ bsdtar -xf "drakon_editor${pkgver}.zip" -C "${pkgname}-${pkgver}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Install program files
+ mkdir -p "${pkgdir}/usr/share/${pkgname}"
+ cp -r * "${pkgdir}/usr/share/${pkgname}"
+ install -Dm755 "../${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+
+ # Install a desktop entry
+ install -Dm644 "../${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -Dm644 "../${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+ # Install a license file
+ install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/drakon-editor.desktop b/drakon-editor.desktop
new file mode 100644
index 00000000000..8af516fcfe4
--- /dev/null
+++ b/drakon-editor.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=DRAKON Editor
+Comment=A free cross-platform editor for the DRAKON visual language
+Exec=drakon-editor
+Icon=drakon-editor
+Terminal=false
+Categories=Development;
diff --git a/drakon-editor.png b/drakon-editor.png
new file mode 100644
index 00000000000..30c2867e6f0
--- /dev/null
+++ b/drakon-editor.png
Binary files differ
diff --git a/drakon-editor.sh b/drakon-editor.sh
new file mode 100644
index 00000000000..e8088dee9b3
--- /dev/null
+++ b/drakon-editor.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /usr/share/drakon-editor/
+./drakon_editor.tcl