From ba731823ed13dba5452c88c8bf4bf185322ed6c2 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 12 May 2025 20:01:18 +0300 Subject: [PATCH] Add license --- pkg.info | 2 ++ source.sh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/pkg.info b/pkg.info index 9c709a6..70931d3 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,9 @@ name: which description: Executable path locator utility version: 2.21 +revision: 2 url: https://savannah.gnu.org/projects/which license: GPL3 architecture: any +depends: ["bash","glibc"] type: source diff --git a/source.sh b/source.sh index b0ddca0..5e0fe81 100644 --- a/source.sh +++ b/source.sh @@ -23,4 +23,7 @@ build() { # 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/which/COPYING }