@@ -12,10 +12,26 @@ tasks:
1212 echo "Installing Ruby gem: licensed"
1313 gem install licensed
1414 fi
15- -licensed notices
16- -mkdir -p debian/arduino-cli/usr/share/doc/arduino-cli/
17- -echo -e "\n\n---\n\n" >> debian/arduino-cli/usr/share/doc/arduino-cli/copyright
18- -cat .licenses/NOTICE.arduino-cli >> debian/arduino-cli/usr/share/doc/arduino-cli/copyright
15+ licensed notices
16+ mkdir -p debian/arduino-cli/usr/share/doc/arduino-cli/
17+ cat > debian/arduino-cli/usr/share/doc/arduino-cli/copyright <<EOF
18+ Copyright 2025 ARDUINO SA (http://www.arduino.cc/)
19+
20+ This software is released under the GNU General Public License version 3,
21+ which covers the main part of arduino-cli.
22+ The terms of this license can be found at:
23+ https://www.gnu.org/licenses/gpl-3.0.en.html
24+
25+ You can be released from the requirements of the above licenses by purchasing
26+ a commercial license. Buying such a license is mandatory if you want to
27+ modify or otherwise use the software for commercial activities involving the
28+ Arduino software without disclosing the source code of your own applications.
29+ To purchase a commercial license, send an email to license@arduino.cc.
30+
31+ ---
32+
33+ EOF
34+ cat .licenses/NOTICE.arduino-cli >> debian/arduino-cli/usr/share/doc/arduino-cli/copyright
1935
2036docs:generate :
2137desc :Create all generated documentation content