Commit b0f14035 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play unigine-heaven: small fixes

parent e89b0e36
......@@ -2,7 +2,7 @@
PKGNAME=unigine-heaven
SUPPORTEDARCHES="x86_64"
DESCRIPTION="Unigine Heaven (Unigine Benchmark) from the official site"
DESCRIPTION="Unigine Heaven 2009 (Unigine Benchmark) from the official site"
. $(dirname $0)/common.sh
......
......@@ -47,19 +47,18 @@ EOF
chmod a+x $BUILDROOT/usr/bin/heaven
pack_file /usr/bin/heaven
mkdir -p $BUILDROOT/usr/share/pixmaps/
cp ../data/launcher/icon.png $BUILDROOT/usr/share/pixmaps/$PRODUCT.png
pack_file /usr/share/pixmaps/$PRODUCT.png
install_file $PRODUCTDIR/data/launcher/icon.png /usr/share/pixmaps/$PRODUCT.png
# create desktop file
mkdir -p $BUILDROOT/usr/share/applications/
cat <<EOF >$BUILDROOT/usr/share/applications/$PRODUCT.desktop
[Desktop Entry]
Version=1.0
Name=Unigine Heaven 4.0
Name=Unigine Heaven 2009
Type=Application
Icon=$PRODUCT
Exec=heaven
Terminal=false
EOF
subst "s|%files|%files\n/usr/share/applications/$PRODUCT.desktop|" $SPEC
pack_file /usr/share/applications/$PRODUCT.desktop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment