From 72e117b226fdea19419b5028d3eb9adfad93d155 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 11 May 2025 11:39:16 +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 2adf89d..4bf17eb 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,11 @@ name: groff description: GNU troff text-formatting system version: 1.23.0 -revision: 2 +revision: 3 url: https://www.gnu.org/software/groff/ license: GPL3-or-later architecture: any -depends: ["gcc","glibc","perl"] -make_depends: ["bash","binutils","bison","coreutils","gawk","gcc","glibc","grep","make","patch","sed","texinfo"] +depends: ["gcc","perl"] +optional_depends: ["libxaw"] +make_depends: ["libxaw"] type: source diff --git a/source.sh b/source.sh index 60eff81..31a7134 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/groff/COPYING }