Commit 25c026f4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add Master PDF Editor

parent 8d74a5bf
#!/bin/sh
PKGNAME=master-pdf-editor
SUPPORTEDARCHES="x86_64"
DESCRIPTION="Master PDF Editor from the official site"
. $(dirname $0)/common.sh
repack=''
# Strict supported list
case $(epm print info -e) in
AstraLinuxCE/*|Debian/*|Ubuntu/*)
PKG="master-pdf-editor-5.8.70-qt5.x86_64.deb"
;;
AstraLinuxSE/1.7*)
PKG="master-pdf-editor-5.8.70-qt5_astra.x86_64.deb"
;;
RedOS/*|AlterOS/*|ALTLinux/*)
PKG="master-pdf-editor-5.8.70-qt5.x86_64.rpm"
repack='--repack'
;;
*)
fatal "Unsupported distro $(epm print info -e). Ask application vendor for a support."
;;
esac
URL="https://code-industry.ru/public/$PKG"
epm $repack install "$URL"
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=master-pdf-editor
PRODUCTDIR=/opt/master-pdf-editor-5
. $(dirname $0)/common.sh
add_bin_link_command masterpdfeditor5
epm install --skip-installed libGL libqt5-core libqt5-gui libqt5-network libqt5-printsupport libqt5-qml libqt5-svg libqt5-widgets libsane zlib
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