Add license

This commit is contained in:
2025-05-11 14:45:39 +03:00
parent e10a374d04
commit b70e208966
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -29,4 +29,10 @@ check() {
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package licenses
install -Dm644 "$BPM_SOURCE"/COPYINGv2 "$BPM_OUTPUT"/usr/share/licenses/libidn2/COPYINGv2
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libidn2/COPYING
install -Dm644 "$BPM_SOURCE"/COPYING.LESSERv3 "$BPM_OUTPUT"/usr/share/licenses/libidn2/COPYING.LESSERv3
install -Dm644 "$BPM_SOURCE"/COPYING.unicode "$BPM_OUTPUT"/usr/share/licenses/libidn2/COPYING.unicode
}