snap4arduino.sh 502 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/sh -x

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

7
PRODUCT=snap4arduino
8 9 10

. $(dirname $0)/common.sh

11
add_bin_link_command $PRODUCT $PRODUCTDIR/run
12

13
# TODO: copy icons
14

Vitaly Lipatov's avatar
Vitaly Lipatov committed
15
cat <<EOF | create_file /usr/share/applications/$PRODUCT.desktop
16 17 18 19
[Desktop Entry]
Type=Application
Version=1.0
Icon=$PRODUCTDIR/icons/128x128x32.png
20
Exec=$PRODUCT
21 22 23 24
Name=Snap4Arduino
Name[en]=Snap4Arduino
GenericName[en]=Use Snap! to control Arduino boards. Arduino goes lambda!
EOF
25

26
add_libs_requires