From 4a7185c0d8844818d83dbd2c95b1a78aae692b4d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 8 May 2025 21:18:00 +0300 Subject: [PATCH] Fix dependencies and add license --- pkg.info | 5 ++--- source.sh | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 4f6911a..b4ccffd 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: bison description: GNU general-purpose parser generator version: 3.8.2 -revision: 2 +revision: 3 url: https://www.gnu.org/software/bison/ license: GPL3 architecture: any -depends: ["glibc"] -make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","grep","m4","make","perl","sed"] +depends: ["glibc","m4"] type: source diff --git a/source.sh b/source.sh index 3718ef5..5e72073 100644 --- a/source.sh +++ b/source.sh @@ -29,4 +29,6 @@ check() { # This function is used to move the compiled files into the output directory package() { make DESTDIR="$BPM_OUTPUT" install + + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/bison/COPYING }