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 }