You need to sign in or sign up before continuing.
lunacy.sh 593 Bytes
#!/bin/sh -x

# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"

PRODUCT=lunacy
PRODUCTCUR=Lunacy
PRODUCTDIR=/opt/icons8/lunacy

PREINSTALL_PACKAGES="liblttng-ust libX11 fontconfig zlib"

. $(dirname $0)/common.sh

add_bin_link_command $PRODUCTCUR
add_bin_link_command $PRODUCT $PRODUCTCUR

fix_desktop_file /opt/icons8/lunacy/Lunacy $PRODUCT
fix_desktop_file /opt/icons8/lunacy/Assets/LunacyLogo.png $PRODUCT
install_file /opt/icons8/lunacy/Assets/LunacyLogo.png /usr/share/pixmaps/$PRODUCT.png

subst '1iAutoProv:no' $SPEC
subst '1iAutoReq:yes,nomono,nomonolib' $SPEC