Add licenses

This commit is contained in:
2025-03-14 21:11:45 +02:00
parent b3cd655913
commit 3cf969ec07
+4
View File
@@ -23,4 +23,8 @@ build() {
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
DESTDIR="$BPM_OUTPUT" python3 x.py install DESTDIR="$BPM_OUTPUT" python3 x.py install
install -Dm644 "$BPM_SOURCE"/COPYRIGHT "$BPM_OUTPUT"/usr/share/licenses/COPYRIGHT
install -Dm644 "$BPM_SOURCE"/LICENSE-MIT "$BPM_OUTPUT"/usr/share/licenses/LICENSE-MIT
install -Dm644 "$BPM_SOURCE"/LICENSE-APACHE "$BPM_OUTPUT"/usr/share/licenses/LICENSE-APACHE
} }