From 976d472632d71ce95a14829db716be076ca6d387 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 11 May 2025 11:56:51 +0300 Subject: [PATCH] Fix dependencies and add license --- pkg.info | 7 ++++--- source.sh | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 819ac4b..b369e07 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,11 @@ name: gzip description: GNU compression utility version: 1.13 -revision: 2 +revision: 3 url: https://www.gnu.org/software/gzip/ license: GPL3-or-later architecture: any -depends: ["bash","glibc"] -make_depends: ["bash","binutils","coreutils","gcc","glibc","grep","make","sed","texinfo"] +depends: ["glibc"] +optional_depends: ["diffutils","less","util-linux"] +make_depends: ["less","perl"] type: source diff --git a/source.sh b/source.sh index a5ef4c4..085a693 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/gzip/COPYING }