arduino: devendor desktop file
This commit is contained in:
parent
e63f172f47
commit
7088bf9c81
|
@ -1,11 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Arduino
|
||||
GenericName=Arduino IDE
|
||||
Comment=The open-source Arduino environment
|
||||
TryExec=arduino
|
||||
Exec=arduino %U
|
||||
Icon=arduino
|
||||
Type=Application
|
||||
Terminal=false
|
||||
MimeType=text/x-arduino;
|
||||
Categories=Development;
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'arduino'
|
||||
pkgname=arduino
|
||||
version=1.8.19
|
||||
revision=2
|
||||
revision=3
|
||||
archs="x86_64* i686* aarch64* arm*"
|
||||
create_wrksrc=yes
|
||||
build_wrksrc=Arduino-$version
|
||||
|
@ -47,6 +47,9 @@ do_build() {
|
|||
-e "s#\(tools\.avrdude\.config\.path=\).*#\1/etc/avrdude.conf#" \
|
||||
linux/work/hardware/arduino/avr/platform.txt
|
||||
convert linux/work/lib/arduino_icon.ico icon.png
|
||||
|
||||
mv linux/dist/desktop.template arduino.desktop
|
||||
vsed -i -e 's/<BINARY_LOCATION>/arduino %U/' -e 's/<ICON_NAME>/arduino/' arduino.desktop
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
@ -62,5 +65,5 @@ do_install() {
|
|||
;;
|
||||
esac
|
||||
done
|
||||
vinstall ${FILESDIR}/arduino.desktop 644 usr/share/applications
|
||||
vinstall build/arduino.desktop 644 usr/share/applications
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue