diff --git a/pkg.info b/pkg.info index f6e0dba..772b122 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,8 @@ name: libunistring description: String manipulation library -version: 1.1 +version: 1.3 url: https://www.gnu.org/software/libunistring/ -license: GPL +license: GPL3-or-later,LGPL3-or-later architecture: any +depends: ["glibc"] type: source diff --git a/source.sh b/source.sh index f86dbfe..f34467f 100644 --- a/source.sh +++ b/source.sh @@ -29,4 +29,8 @@ 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"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libunistring/COPYING + install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/libunistring/COPYING.LIB }