diff options
Diffstat (limited to 'development/power-architect')
-rw-r--r-- | development/power-architect/doinst.sh | 5 | ||||
-rw-r--r-- | development/power-architect/power-architect.SlackBuild | 23 | ||||
-rw-r--r-- | development/power-architect/power-architect.desktop | 10 | ||||
-rw-r--r-- | development/power-architect/power-architect.info | 6 | ||||
-rw-r--r-- | development/power-architect/power-architect.png | bin | 0 -> 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 0000000000000..301399ba37c77 --- /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 4ecdf091f557f..fd7d4a3e8fcf4 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 0000000000000..c15c5a79a0552 --- /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 d60dd329200c6..4a0dbd25e468d 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 Binary files differnew file mode 100644 index 0000000000000..15f15c46de585 --- /dev/null +++ b/development/power-architect/power-architect.png |