Commit f19af242 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: added VK Play (eterbug #19004)

parent 6c3e0e8a
#!/bin/sh
PKGNAME=GameCenterShowcase
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="VK Play — российская площадка для любителей игр, разработчиков и авторов контента"
URL="https://vkplay.ru/about/?from=gamecenter"
. $(dirname $0)/common.sh
warn_version_is_not_supported
pkgtype="$(epm print info -p)"
case $pkgtype in
rpm)
PKGURL="https://static.gc.vkplay.ru/gclinux/rpm_repo/GameCenterShowcase.x86_64.rpm"
;;
*)
PKGURL="https://static.gc.vkplay.ru/gclinux/deb_repo/GameCenterShowcase_amd64.deb"
;;
esac
install_pkgurl
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
move_to_opt "/usr/lib/GameCenterShowcase"
fix_desktop_file "Exec=/usr/lib/GameCenterShowcase/GameCenterShowcase" "Exec=GameCenterShowcase"
remove_file /usr/bin/GameCenterShowcase
add_requires libcurl4-openssl
cat <<'EOF' | create_exec_file "/usr/bin/GameCenterShowcase"
#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib64/libcurl4-openssl${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
exec /opt/GameCenterShowcase/GameCenterShowcase "$@"
EOF
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