Add license

This commit is contained in:
2025-05-10 11:11:23 +03:00
parent b9c99480b5
commit 4bf6ff5288
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
name: cpio name: cpio
description: Cpio tar archive management tool description: Cpio tar archive management tool
version: 2.15 version: 2.15
revision: 2
url: https://www.gnu.org/software/cpio url: https://www.gnu.org/software/cpio
license: GPL3-or-later license: GPL3-or-later
architecture: any architecture: any
+3
View File
@@ -31,4 +31,7 @@ check() {
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
make DESTDIR="$BPM_OUTPUT" install make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/cpio/COPYING
} }