Commit af42752d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add ridoclnx

parent e9d56f16
#!/bin/sh
PKGNAME=ridoclnx
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="RiDocLNX - scanner software for Linux"
URL="https://ridoclnx.com/"
. $(dirname $0)/common.sh
pkgtype=$(epm print info -p)
case $pkgtype in
rpm)
mask="ridoclnx-1.0-4.4.x86_64.rpm"
;;
deb)
mask="ridoclnx_1.0.4.4.deb"
;;
esac
PKGURL="https://ridoclnx.com/download/$mask"
# for add /usr/bin/ridoclnx
repack='--repack'
epm install $repack "$PKGURL"
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=ridoclnx
. $(dirname $0)/common.sh
move_to_opt
add_bin_exec_command
subst "2icd $PRODUCTDIR" usr/bin/$PRODUCT
fix_desktop_file /usr/share/ridoclnx/ridoclnx.ico
fix_desktop_file /usr/share/ridoclnx/ridoclnx
fix_desktop_file /usr/share/ridoclnx/ $PRODUCTDIR
add_libs_requires
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