diff options
author | Dhaby Xiloj <slack.dhabyx@gmail.com> | 2013-12-05 18:05:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-12-05 18:36:56 +0700 |
commit | 7221379bfcab43e33fec73496baa85b0bdb72a2c (patch) | |
tree | 9c94c4f922c0b2c3c556fefacebb87bc715d2a99 /development/power-architect/power-architect.SlackBuild | |
parent | d22f7b855baec5d98f49f44215917b65b54d5fab (diff) | |
download | slackbuilds-7221379bfcab43e33fec73496baa85b0bdb72a2c.tar.gz |
development/power-architect: Updated for version 1.0.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/power-architect/power-architect.SlackBuild')
-rw-r--r-- | development/power-architect/power-architect.SlackBuild | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/development/power-architect/power-architect.SlackBuild b/development/power-architect/power-architect.SlackBuild index 4ecdf091f5..fd7d4a3e8f 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 |