From d2f9db70a8b0b4c1efa25db527c90f75d722f862 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 10 May 2025 16:16:09 +0300 Subject: [PATCH] Fix dependencies and add license --- pkg.info | 5 ++--- source.sh | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 7014f82..97e993c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: findutils description: File locating utilities version: 4.9.0 -revision: 2 +revision: 3 url: https://www.gnu.org/software/findutils/ license: GPL3-or-later architecture: any -depends: ["bash","glibc"] -make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","grep","make","sed","texinfo"] +depends: ["glibc"] type: source diff --git a/source.sh b/source.sh index fabbb6f..3f9465e 100644 --- a/source.sh +++ b/source.sh @@ -29,4 +29,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/findutils/COPYING }