Commit 9407334b authored by Boria138's avatar Boria138 Committed by Vitaly Lipatov

epm play: add Firestorm Viewer for Second Life (eterbug #17325)

parent ba303ddc
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
. $(dirname $0)/common.sh
erc unpack $TAR || fatal
mkdir -p opt
mv Phoenix-Firestorm-Releasex64-* $PRODUCT
mv $PRODUCT opt/
VERSION=$(echo "$TAR" | grep -oP '(?<=Releasex64-)\d+-\d+-\d+-\d+' | tr '-' '.')
[ -n "$VERSION" ] || fatal "Can't get package version"
install_file opt/firestorm/firestorm_icon.png /usr/share/pixmaps/$PRODUCT.png
# create desktop file
cat <<EOF | create_file /usr/share/applications/$PRODUCT.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Firestorm Second Life viewer
Comment=Second Life is a 3-D virtual world entirely built and owned by its residents
Exec=$PRODUCT %U
Icon=$PRODUCT
Terminal=false
Categories=Game
EOF
PKGNAME=$PRODUCT-$VERSION
erc pack $PKGNAME.tar opt usr || fatal
return_tar $PKGNAME.tar
#!/bin/sh
PKGNAME=firestorm
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION='Firestorm Second Life viewer'
URL="https://www.firestormviewer.org/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
PKGURL="https://downloads.firestormviewer.org/release/linux/Phoenix-Firestorm-Releasex64-6-6-17-70368.tar.xz"
install_pack_pkgurl
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