Commit 2e301f14 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add lunacy support

parent aee1e409
#!/bin/sh
PKGNAME=lunacy
SUPPORTEDARCHES="x86_64 aarch64"
DESCRIPTION="Lunacy - Graphic Design Editor"
. $(dirname $0)/common.sh
arch="$(epm print info -a)"
case "$arch" in
x86_64)
file="Lunacy.deb"
;;
aarch64)
file="Lunacy.ARM.deb"
;;
*)
fatal "$arch arch is not supported"
;;
esac
# https://icons8.ru/lunacy
epm install "https://lcdn.icons8.com/setup/$file"
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=lunacy
PRODUCTCUR=Lunacy
PRODUCTDIR=/opt/icons8/lunacy
. $(dirname $0)/common.sh
add_bin_link_command $PRODUCTCUR
add_bin_link_command $PRODUCT $PRODUCTCUR
fix_desktop_file
fix_desktop_file /opt/icons8/lunacy/Assets/LunacyLogo.png $PRODUCT.png
install_file /opt/icons8/lunacy/Assets/LunacyLogo.png /usr/share/pixmaps/$PRODUCT.png
subst '1iAutoProv:no' $SPEC
subst '1iAutoReq:yes,nomono,nomonolib' $SPEC
epm install --skip-installed liblttng-ust libX11 fontconfig 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