diff --git a/pkg.info b/pkg.info index 5678be4..00be07e 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,7 @@ name: cpio description: Cpio tar archive management tool version: 2.15 +revision: 2 url: https://www.gnu.org/software/cpio license: GPL3-or-later architecture: any diff --git a/source.sh b/source.sh index fd9affc..d7d4998 100644 --- a/source.sh +++ b/source.sh @@ -31,4 +31,7 @@ check() { # This function is used to move the compiled files into the output directory package() { make DESTDIR="$BPM_OUTPUT" install + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/cpio/COPYING }