aboutsummaryrefslogtreecommitdiff
path: root/development/power-architect
diff options
context:
space:
mode:
authorDhaby Xiloj <slack.dhabyx@gmail.com>2013-12-05 18:05:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-05 18:36:56 +0700
commit7221379bfcab43e33fec73496baa85b0bdb72a2c (patch)
tree9c94c4f922c0b2c3c556fefacebb87bc715d2a99 /development/power-architect
parentd22f7b855baec5d98f49f44215917b65b54d5fab (diff)
development/power-architect: Updated for version 1.0.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/power-architect')
-rw-r--r--development/power-architect/doinst.sh5
-rw-r--r--development/power-architect/power-architect.SlackBuild23
-rw-r--r--development/power-architect/power-architect.desktop10
-rw-r--r--development/power-architect/power-architect.info6
-rw-r--r--development/power-architect/power-architect.pngbin0 -> 30430 bytes
5 files changed, 33 insertions, 11 deletions
diff --git a/development/power-architect/doinst.sh b/development/power-architect/doinst.sh
new file mode 100644
index 000000000000..301399ba37c7
--- /dev/null
+++ b/development/power-architect/doinst.sh
@@ -0,0 +1,5 @@
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/development/power-architect/power-architect.SlackBuild b/development/power-architect/power-architect.SlackBuild
index 4ecdf091f557..fd7d4a3e8fcf 100644
--- a/development/power-architect/power-architect.SlackBuild
+++ b/development/power-architect/power-architect.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for power-architect
-# Copyright (c) 2010, Dhaby Xiloj <slack.dhabyx@gmail.com>
+# Copyright (c) 2010-2013, Dhaby Xiloj <slack.dhabyx@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
# This script is just a binary repackaging.
PRGNAM=power-architect
-VERSION=${VERSION:-0.9.14}
+VERSION=${VERSION:-1.0.6}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,6 +34,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+PKGNAM='SQL-Power-Architect-generic-jdbc'
DOCS="LICENSE README.generic"
set -e
@@ -42,17 +43,17 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf architect-$VERSION
-tar xvf $CWD/Architect-generic-jdbc-$VERSION.tar.gz
+tar xvf $CWD/$PKGNAM-$VERSION.tar.gz
cd architect-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/opt/$PRGNAM
-cp -R $TMP/architect-$VERSION/* $PKG/opt/$PRGNAM
+cp -R $TMP/architect-$VERSION/{architect.jar,jdbc,lib} $PKG/opt/$PRGNAM
# Add a script to run power-architect in /usr/bin
mkdir -p $PKG/usr/bin
@@ -63,6 +64,12 @@ java -jar architect.jar
EOF
chmod 0755 $PKG/usr/bin/$PRGNAM
+# Putting everything in place
+mkdir -p $PKG/usr/share/applications/
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
+mkdir -p $PKG/usr/share/pixmaps
+cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/power-architect/power-architect.desktop b/development/power-architect/power-architect.desktop
new file mode 100644
index 000000000000..c15c5a79a055
--- /dev/null
+++ b/development/power-architect/power-architect.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=SQL Power Architect
+GenericName=SQL Power Architect
+Comment=Manage, modeling and profiling databases
+Icon=power-architect.png
+Exec=power-architect
+Terminal=false
+StartupNotify=true
+Categories=Database;Development;
diff --git a/development/power-architect/power-architect.info b/development/power-architect/power-architect.info
index d60dd329200c..4a0dbd25e468 100644
--- a/development/power-architect/power-architect.info
+++ b/development/power-architect/power-architect.info
@@ -1,8 +1,8 @@
PRGNAM="power-architect"
-VERSION="0.9.14"
+VERSION="1.0.6"
HOMEPAGE="http://www.sqlpower.ca/page/architect"
-DOWNLOAD="http://power-architect.googlecode.com/files/Architect-generic-jdbc-0.9.14.tar.gz"
-MD5SUM="51108e0eda5e09e1c11ff95e7312dd53"
+DOWNLOAD="http://power-architect.googlecode.com/files/SQL-Power-Architect-generic-jdbc-1.0.6.tar.gz"
+MD5SUM="d4387d285b3bd1ea35082a2e353f688e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"
diff --git a/development/power-architect/power-architect.png b/development/power-architect/power-architect.png
new file mode 100644
index 000000000000..15f15c46de58
--- /dev/null
+++ b/development/power-architect/power-architect.png
Binary files differ