From b70e208966cd3b99f5a5f1f30b1eb2caa93189b1 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 11 May 2025 14:45:39 +0300 Subject: [PATCH] Add license --- pkg.info | 2 +- source.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg.info b/pkg.info index 8471080..83263aa 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: libidn2 description: An implementation of the IDNA2008 + TR46 specifications version: 2.3.7 -revision: 2 +revision: 3 url: https://www.gnu.org/software/libidn/ license: GPL2,LGPL3 architecture: any diff --git a/source.sh b/source.sh index 03b2540..d8ca371 100644 --- a/source.sh +++ b/source.sh @@ -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 }