Commit 6f7446b8 authored by Иван Мажукин's avatar Иван Мажукин Committed by Vitaly Lipatov

epm play: add xppen (eterbug #17981)

parent 96224a89
#!/bin/sh
PKGNAME=XPPenLinux
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="XP-Pen (Official) Linux utility"
URL="https://www.xp-pen.com/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
PKGURL="https://www.xp-pen.com/download/file.html?id=3561&pid=1179&ext=deb"
install_pkgurl
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCTDIR=/opt/pentablet
PRODUCTCUR=PenTablet
. $(dirname $0)/common.sh
move_to_opt /usr/lib/pentablet
mkdir -p $BUILDROOT/usr/lib/pentablet/conf/xppen/
#hardcoded in binary file
for i in config.xml dialogpos.ini language.ini name_config.ini; do
ln -s /opt/pentablet/conf/xppen/$i usr/lib/pentablet/conf/xppen/$i
pack_file /usr/lib/pentablet/conf/xppen/$i
done
add_bin_exec_command $PRODUCTCUR $PRODUCTDIR/$PRODUCTCUR.sh
fix_desktop_file /usr/lib/pentablet/PenTablet.sh $PRODUCTCUR
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