Fix dependencies and add license

This commit is contained in:
2025-05-10 18:46:53 +03:00
parent 340c4d4bf4
commit 0262b14068
2 changed files with 5 additions and 3 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
name: gawk name: gawk
description: GNU awk description: GNU awk
version: 5.3.0 version: 5.3.0
revision: 2 revision: 3
url: https://www.gnu.org/software/gawk/ url: https://www.gnu.org/software/gawk/
license: GPL license: GPL
architecture: any architecture: any
depends: ["bash","glibc","mpfr"] depends: ["glibc","mpfr","sh"]
make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","gmp","grep","make","mpfr","patch","readline","sed","texinfo"]
type: source type: source
+3
View File
@@ -33,4 +33,7 @@ package() {
ln -sv gawk.1 "$BPM_OUTPUT"/usr/share/man/man1/awk.1 ln -sv gawk.1 "$BPM_OUTPUT"/usr/share/man/man1/awk.1
mkdir -pv "$BPM_OUTPUT"/usr/share/doc/gawk mkdir -pv "$BPM_OUTPUT"/usr/share/doc/gawk
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} "$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
} }