From 4bf6ff52881c947580212b50f9787e6a4397dafd Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 10 May 2025 11:11:23 +0300 Subject: [PATCH] Add license --- pkg.info | 1 + source.sh | 3 +++ 2 files changed, 4 insertions(+) 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 }