diff options
author | Sergey Marochkin | 2015-10-16 16:18:57 +0300 |
---|---|---|
committer | Sergey Marochkin | 2015-10-16 16:18:57 +0300 |
commit | 7f1d9a4abd4451348c580d37d9a1be189b7e2c8d (patch) | |
tree | 08aa6a2475500ac9e9c7d3df0e2824f95c0c1ca3 | |
download | aur-7f1d9a4abd4451348c580d37d9a1be189b7e2c8d.tar.gz |
Upload
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | dbschema | 3 | ||||
-rw-r--r-- | dbschema.desktop | 13 | ||||
-rw-r--r-- | dbschema.install | 13 |
5 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8b43179199b9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = dbschema + pkgdesc = Relational Data Browse, Query Builder, SQL Editor, schema deployment and synchronization. + pkgver = 7.1.0 + pkgrel = 1 + url = http://www.dbschema.com/ + install = dbschema.install + arch = i686 + arch = x86_64 + license = custom + depends = java-runtime + source = http://www.dbschema.com/DbSchema.zip + source = dbschema + source = dbschema.desktop + source = dbschema.install + sha1sums = a5145d0718c0b52e07bc42a40141c388b8f5e08a + sha1sums = 8b073fd8d750f92cd5012d9d13c374a978966e2f + sha1sums = d609bda2b0ffd70b011a6b1f9ab51d62dd1f9ad4 + sha1sums = 88c7c63c14dd278299e7d5c7d9e0e71e740a2e18 + +pkgname = dbschema + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..529f51ceb633 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Sergey Marochkin <me@ziggi.org> +# Contributor: Morris Jobke <morris.jobke AT gmail DOT com> +# Contributor: Boris Shomodjvarac <shomodj AT gmail DOT com> +# Contributor: G. Richard Bellamy <rbellamy@pteradigm.com> +pkgname=dbschema +pkgver=7.1.0 +pkgrel=1 +pkgdesc='Relational Data Browse, Query Builder, SQL Editor, schema deployment and synchronization.' +arch=('i686' 'x86_64') +url='http://www.dbschema.com/' +license='custom' +depends=('java-runtime') +install="dbschema.install" +source=("http://www.dbschema.com/DbSchema.zip" + "dbschema" + "dbschema.desktop" + "dbschema.install") + +package(){ + install -dm755 ${pkgdir}/opt + cp -r DbSchema ${pkgdir}/opt/${pkgname} + + chmod 755 ${pkgdir}/opt/${pkgname}/DbSchema.sh + + install -Dm755 dbschema ${pkgdir}/usr/bin/dbschema + install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} + +sha1sums=('a5145d0718c0b52e07bc42a40141c388b8f5e08a' + '8b073fd8d750f92cd5012d9d13c374a978966e2f' + 'd609bda2b0ffd70b011a6b1f9ab51d62dd1f9ad4' + '88c7c63c14dd278299e7d5c7d9e0e71e740a2e18') diff --git a/dbschema b/dbschema new file mode 100644 index 000000000000..9aef78412921 --- /dev/null +++ b/dbschema @@ -0,0 +1,3 @@ +#!/bin/sh + +cd /opt/dbschema/ && ./DbSchema.sh "$@" & diff --git a/dbschema.desktop b/dbschema.desktop new file mode 100644 index 000000000000..ef6392d312d2 --- /dev/null +++ b/dbschema.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name=DbSchema +Comment=Relational Data Browse, Query Builder, SQL Editor, schema deployment and synchronization. +Icon=/opt/dbschema/config/appearance/images/icon.png +Exec=/usr/bin/dbschema +Terminal=false +Type=Application +Categories=Development; +StartupNotify=true +# Uncomment the following line to create a friendly name for this desktop entry +# HOWEVER - this will then bork all other XFramePeer like apps. In particular +# this breaks how SQL Developer and IntelliJ IDEA work together. +#StartupWMClass=sun-awt-X11-XFramePeer
\ No newline at end of file diff --git a/dbschema.install b/dbschema.install new file mode 100644 index 000000000000..86527fd7ba1d --- /dev/null +++ b/dbschema.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + echo "Before run DbSchema you need to change your JRE version to 8" + echo "For example: sudo archlinux-java set java-8-openjdk" +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |