From afaeb61f5d317051bf89f17199982c410b7e7cef Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 13 Mar 2025 18:01:00 +0200 Subject: [PATCH] Add licenses --- pkg.info | 4 ++-- source.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pkg.info b/pkg.info index f009fea..9395e01 100644 --- a/pkg.info +++ b/pkg.info @@ -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 diff --git a/source.sh b/source.sh index e1bd7e8..590a841 100644 --- a/source.sh +++ b/source.sh @@ -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 }