Add licenses

This commit is contained in:
2025-03-13 18:01:00 +02:00
parent fb410b08b2
commit afaeb61f5d
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
name: man-pages
description: Linux manual pages
version: 6.06
revision: 2
revision: 3
url: https://www.kernel.org/doc/man-pages/
license: Multiple
license: Linux-man-pages-1-para,Linux-man-pages-copyleft,Linux-man-pages-copyleft-var,Linux-man-pages-copyleft-2-para,BSD-2-Clause,BSD-3-Clause,BSD-4-Clause-UC,GPL1-or-later,GPL2-only,GPL2-or-later,MIT
architecture: any
make_depends: ["bash","coreutils","make"]
type: source
+4
View File
@@ -18,4 +18,8 @@ prepare() {
# This function is used to move the compiled files into the output directory
package() {
make prefix=/usr DESTDIR="$BPM_OUTPUT" install
for license in LICENSES/*; do
install -Dm644 $license -t "$BPM_OUTPUT"/usr/share/licenses/man-pages/
done
}