diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2013-02-09 12:34:38 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-02-14 00:26:50 -0600 |
commit | 649d4e2915f03da6899b036ee4c8e49d70f69c4a (patch) | |
tree | 638f97d593505854cf8aef71c4130d95dfb4b875 | |
parent | a03660d1d85691a59dac6a0a99beb5cbbabafcfb (diff) | |
download | slackbuilds-649d4e2915f03da6899b036ee4c8e49d70f69c4a.tar.gz |
graphics/yed: Updated for version 3.10.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r-- | graphics/yed/doinst.sh | 6 | ||||
-rw-r--r-- | graphics/yed/slack-desc | 8 | ||||
-rw-r--r-- | graphics/yed/yed.SlackBuild | 12 | ||||
-rw-r--r-- | graphics/yed/yed.info | 6 |
4 files changed, 21 insertions, 11 deletions
diff --git a/graphics/yed/doinst.sh b/graphics/yed/doinst.sh index 4e8ba7071d..1f8ff67ded 100644 --- a/graphics/yed/doinst.sh +++ b/graphics/yed/doinst.sh @@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/graphics/yed/slack-desc b/graphics/yed/slack-desc index 6e1fb805c0..f55f0f43a3 100644 --- a/graphics/yed/slack-desc +++ b/graphics/yed/slack-desc @@ -1,8 +1,8 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| 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 diff --git a/graphics/yed/yed.info b/graphics/yed/yed.info index 6c07c26e46..65ae70c150 100644 --- a/graphics/yed/yed.info +++ b/graphics/yed/yed.info @@ -1,8 +1,8 @@ PRGNAM="yed" -VERSION="3.9.2" +VERSION="3.10.1" HOMEPAGE="http://www.yworks.com/en/products_yed_about.html" -DOWNLOAD="http://www.yworks.com/products/yed/demo/yEd-3.9.2.zip" -MD5SUM="f59b9f5aa16e4dc5835d1677d7ec7c5f" +DOWNLOAD="http://www.yworks.com/products/yed/demo/yEd-3.10.1.zip" +MD5SUM="255a27eee4be36082a939ae130ff9c2e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" |