summaryrefslogtreecommitdiff
path: root/graphics/yed/yed.SlackBuild
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2013-02-09 12:34:38 -0600
committerErik Hanson <erik@slackbuilds.org>2013-02-14 00:26:50 -0600
commit649d4e2915f03da6899b036ee4c8e49d70f69c4a (patch)
tree638f97d593505854cf8aef71c4130d95dfb4b875 /graphics/yed/yed.SlackBuild
parenta03660d1d85691a59dac6a0a99beb5cbbabafcfb (diff)
downloadslackbuilds-649d4e2915f03da6899b036ee4c8e49d70f69c4a.tar.gz
graphics/yed: Updated for version 3.10.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'graphics/yed/yed.SlackBuild')
-rw-r--r--graphics/yed/yed.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/graphics/yed/yed.SlackBuild b/graphics/yed/yed.SlackBuild
index 1c85f3bb16..14fbb1503f 100644
--- a/graphics/yed/yed.SlackBuild
+++ b/graphics/yed/yed.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yed
-VERSION=${VERSION:-3.9.2}
+VERSION=${VERSION:-3.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,15 +47,19 @@ cd $PRGNAM-$VERSION
chown -R root:root .
mkdir -p $PKG/usr/share/$PRGNAM
-mv $PRGNAM.jar $PKG/usr/share/$PRGNAM
+mv *.jar $PKG/usr/share/$PRGNAM
+
+for SIZE in 16 32; do
+ mkdir -p $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/apps
+ mv icons/yicon$SIZE.png $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/apps/$PRGNAM.png
+done
mkdir -p $PKG/usr/bin
cat $CWD/$PRGNAM.sh > $PKG/usr/bin/$PRGNAM
chmod 755 $PKG/usr/bin/$PRGNAM
-mkdir -p $PKG/usr/share/{applications,pixmaps}
+mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv *.html $PKG/usr/doc/$PRGNAM-$VERSION