Commit dda16849 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: remove repack for rudesktop

parent b2eaf6e6
......@@ -5,8 +5,9 @@ SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="RuDesktop for Linux from the official site"
case "$(epm print info -d)" in
AstraLinux*)
# change installed package name
case "$(epm print info -s)" in
astra)
PKGNAME=rudesktop-astra
;;
esac
......@@ -15,5 +16,21 @@ esac
[ "$VERSION" = "*" ] && VERSION="[0-9]*"
PKGURL=$(epm tool eget --list --latest https://rudesktop.ru/ $PKGNAME-$VERSION.deb)
# change package name for downloading
case "$(epm print info -s)" in
alt)
PKGNAME=rudesktop-alt
;;
esac
case "$(epm print info -p)" in
rpm)
pkgtype=rpm
;;
*)
pkgtype=deb
;;
esac
PKGURL=https://rudesktop.ru/download/$PKGNAME-amd64.$pkgtype
epm install $PKGURL
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PREINSTALL_PACKAGES="glib2 libcairo libgdk-pixbuf libgtk+3 libpango libpulseaudio libuuid libX11 libxcb libXfixes libXtst python3 python3-base python3-module-evdev python3-module-six xdotool"
. $(dirname $0)/common.sh
filter_from_requires "python3(AppKit)" "python3(CoreFoundation)" "python3(HIServices)" "python3(Quartz)" "python3(objc)"
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