From 0262b14068f0fae1f8fea93999fd2cfd4d39b196 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 10 May 2025 18:46:53 +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 68bf9af..44fc0f9 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: gawk description: GNU awk version: 5.3.0 -revision: 2 +revision: 3 url: https://www.gnu.org/software/gawk/ license: GPL architecture: any -depends: ["bash","glibc","mpfr"] -make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","gmp","grep","make","mpfr","patch","readline","sed","texinfo"] +depends: ["glibc","mpfr","sh"] type: source diff --git a/source.sh b/source.sh index 618636e..3a6998e 100644 --- a/source.sh +++ b/source.sh @@ -33,4 +33,7 @@ package() { ln -sv gawk.1 "$BPM_OUTPUT"/usr/share/man/man1/awk.1 mkdir -pv "$BPM_OUTPUT"/usr/share/doc/gawk cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} "$BPM_OUTPUT"/usr/share/doc/gawk + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gawk/COPYING }