summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuzakiKK2018-09-13 14:56:10 +0200
committerRyuzakiKK2018-09-13 14:56:10 +0200
commit4f479231bfda9353b651b9609850c37caf63a62e (patch)
tree68d3960e4413712f89390193798c3b9efbba7e9f
downloadaur-4f479231bfda9353b651b9609850c37caf63a62e.tar.gz
Initial release
-rw-r--r--.SRCINFO31
-rw-r--r--LICENSE47
-rw-r--r--PKGBUILD45
-rw-r--r--astah-uml.install20
-rw-r--r--astah_splash_uml.pngbin0 -> 13404 bytes
-rw-r--r--astah_uml.desktop12
-rw-r--r--astah_uml.pngbin0 -> 4155 bytes
-rw-r--r--astah_uml.xml12
8 files changed, 167 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..21332165a409
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = astah-uml
+ pkgdesc = Lightweight and easy-to-use UML2.x modeler
+ pkgver = 7.2.0
+ pkgrel = 1
+ url = http://astah.net/editions/uml-new
+ install = astah-uml.install
+ arch = any
+ license = custom
+ makedepends = shared-mime-info
+ makedepends = gtk-update-icon-cache
+ makedepends = desktop-file-utils
+ depends = java-runtime>=8
+ provides = astah_uml
+ conflicts = astah_uml
+ conflicts = astah_community
+ conflicts = astah-professional
+ source = http://cdn.change-vision.com/files/astah-uml-7_2_0-1ff236.zip
+ source = astah_uml.desktop
+ source = astah_uml.xml
+ source = astah_uml.png
+ source = astah_splash_uml.png
+ source = LICENSE
+ sha256sums = 107f7af228719ea4c14a1a1d3695eeb6d6bbce97b78b32ec455d0e3109c99d41
+ sha256sums = 560cdde7f1bb1fde639a8dd82deab6ee3ae6366d8385e485f32c050f4269592d
+ sha256sums = 0f820a854465a84a0ec718108bee8d96b572f1eb4ab4c558d83c13eb5eb03513
+ sha256sums = 5b02d285410a97e29eb0888b1c095d200bbecc14edc2e9129c281691c3021f49
+ sha256sums = 35f96337f046d3ce25a61db4aa79fe2036e515b090eea597f4b3df081adb9006
+ sha256sums = da5c641c2a9f1e0d616d142ad340b9724b798f55cfb30ba171bee7be2530aa1a
+
+pkgname = astah-uml
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..ae9f663e4f46
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,47 @@
+License Agreement for astah* API Sample Programs
+
+Change Vision, Inc.
+2nd Version as of 4th December, 2013
+
+THIS LICENSE AGREEMENT for astah* API SAMPLE PROGRAMS ("this
+Agreement") is a legal agreement between you (either an
+individual, a firm or a single entity) and Change Vision,
+Inc. (the "Company") for astah* API sample programs (the
+"Samples"). By installing, copying, downloading, accessing,
+or otherwise using the Samples, you agree to be bound by
+the terms and conditions of this Agreement. If you do not
+agree to the terms and conditions of this Agreement, do not
+install or use the Samples.
+
+1. Definition of Term
+astah* API Sample Programs include computer programs,
+associated media, printed materials and online or
+electronic documentation under \api\sample folder of the
+astah* install folder (Astah Professional, Astah UML,
+Astah Community and Astah SysML).
+
+2. Intellectual Property Rights
+The Company owns copyrights or applicable rights to
+intellectual property with respect to the Samples. Subject
+to the terms and conditions of this Agreement, the Company
+grants you a nonexclusive license to use, copy, and
+distribute the Samples, and to modify the source codes in
+the Samples. No copyrights or applicable rights to
+intellectual property with respect to the Samples hereunder
+may be transferred by the Company or the owner of copyright
+to you. The owner of the copyright retains all applicable
+rights to patent for your invention which is developed by
+consulting the source codes in the Samples. The Company in
+no way warrants performance, results or other contents
+arising out of or in connection with the Samples, nor
+warrants to provide the solution of the problem.
+
+3. Limited Warranty
+On no event will the Company be liable to you for any
+damages arising out of the use or inability to use the
+Samples.
+
+4. Disclaimer of Warranty
+On no event will the Company be liable to you for any
+damages arising out of the use or inability to use the
+Samples. \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..6f1cc1e0743c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Ludovico de Nittis <aasonykk+aur at google mail dot com>
+# Forked from Phillipe Smith <phillipe@archlinux.com.br>
+
+pkgname=astah-uml
+_pkgname=${pkgname/-/_}
+pkgver=7.2.0
+_pkgver=${pkgver//./_}
+pkgrel=1
+_pkgrel=1ff236
+pkgdesc="Lightweight and easy-to-use UML2.x modeler"
+arch=("any")
+license=("custom")
+depends=("java-runtime>=8")
+makedepends=("shared-mime-info" "gtk-update-icon-cache" "desktop-file-utils")
+provides=("$_pkgname")
+conflicts=("$_pkgname" "astah_community" "astah-professional")
+install="${pkgname}.install"
+url="http://astah.net/editions/uml-new"
+source=("http://cdn.change-vision.com/files/${pkgname}-${_pkgver}-${_pkgrel}.zip"
+ "${_pkgname}.desktop"
+ "${_pkgname}.xml"
+ "${_pkgname}.png"
+ "astah_splash_uml.png"
+ "LICENSE")
+
+sha256sums=('107f7af228719ea4c14a1a1d3695eeb6d6bbce97b78b32ec455d0e3109c99d41'
+ '560cdde7f1bb1fde639a8dd82deab6ee3ae6366d8385e485f32c050f4269592d'
+ '0f820a854465a84a0ec718108bee8d96b572f1eb4ab4c558d83c13eb5eb03513'
+ '5b02d285410a97e29eb0888b1c095d200bbecc14edc2e9129c281691c3021f49'
+ '35f96337f046d3ce25a61db4aa79fe2036e515b090eea597f4b3df081adb9006'
+ 'da5c641c2a9f1e0d616d142ad340b9724b798f55cfb30ba171bee7be2530aa1a')
+
+package() {
+ install -Dm755 $srcdir/$_pkgname/astah $pkgdir/usr/bin/astah || return 1
+ install -Dm755 $srcdir/$_pkgname/astah-command.sh $pkgdir/usr/bin/astah-command || return 1
+ install -Dm644 $srcdir/${_pkgname}.desktop $pkgdir/usr/share/applications/${_pkgname}.desktop || return 1
+ install -Dm644 $srcdir/${_pkgname}.xml $pkgdir/usr/share/mime/packages/${_pkgname}.xml || return 1
+ install -Dm644 $srcdir/${_pkgname}.png $pkgdir/usr/share/pixmaps/${_pkgname}.png || return 1
+ install -Dm644 $srcdir/astah_splash_uml.png ${srcdir}/${_pkgname}/astah_splash_uml.png || return 1
+ install -Dm644 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE || return 1
+ mkdir -p ${pkgdir}/usr/lib/
+ cp -rf ${srcdir}/${_pkgname}/ ${pkgdir}/usr/lib/${pkgname} || return 1
+ chmod +x ${pkgdir}/usr/lib/${pkgname}/astah{,-command.sh}
+ sed -i -r "s|^(ASTAH_HOME=).*|\1/usr/lib/$pkgname|" ${pkgdir}/usr/bin/astah
+}
diff --git a/astah-uml.install b/astah-uml.install
new file mode 100644
index 000000000000..3a62f0172f23
--- /dev/null
+++ b/astah-uml.install
@@ -0,0 +1,20 @@
+post_install() {
+ update-desktop-database /usr/share/applications
+ update-mime-database /usr/share/mime
+ gtk-update-icon-cache -t /usr/share/icons/
+ cat <<-EndOfMessage
+
+==> You have to install your license file to /usr/lib/astah-professional/
+ ( you can get one at http://astah.net/pricing )
+
+EndOfMessage
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
diff --git a/astah_splash_uml.png b/astah_splash_uml.png
new file mode 100644
index 000000000000..6d3711575657
--- /dev/null
+++ b/astah_splash_uml.png
Binary files differ
diff --git a/astah_uml.desktop b/astah_uml.desktop
new file mode 100644
index 000000000000..6a1198df4f4b
--- /dev/null
+++ b/astah_uml.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=astah* UML
+Comment=UML modeling tool with Mind Mapping
+Comment[ja]=UMLモデリングとマインドマップ描画に特化したライトウェイトなモデリングツールです。
+Exec=astah %U
+Icon=astah_uml.png
+NoDisplay=false
+Terminal=false
+Type=Application
+Categories=Application;Utility;
+MimeType=application/x-astah
diff --git a/astah_uml.png b/astah_uml.png
new file mode 100644
index 000000000000..f64fbefe9c7d
--- /dev/null
+++ b/astah_uml.png
Binary files differ
diff --git a/astah_uml.xml b/astah_uml.xml
new file mode 100644
index 000000000000..1cf07bc718c0
--- /dev/null
+++ b/astah_uml.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="application/x-astah">
+ <comment>astah* document</comment>
+ <comment xml:lang="ja">astah* ドキュメント</comment>
+ <glob pattern="*.asta"/>
+ <magic priority="50">
+ <match value="PK\003\004" type="string" offset="0"/>
+ </magic>
+ <generic-icon name="astah_uml-doc"/>
+ </mime-type>
+</mime-info>