summaryrefslogtreecommitdiff
path: root/graphics/yed/yed.SlackBuild
diff options
context:
space:
mode:
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