From ccbfd9bbf8b125da798b5c2d16ecedd7522a03bc Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 10 May 2025 18:49:04 +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 ec52755..3bea45f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: gdbm description: GNU database library version: 1.23 -revision: 2 +revision: 3 url: https://www.gnu.org/software/gdbm/ license: GPL3 architecture: any -depends: ["bash","glibc","readline"] -make_depends: ["bash","binutils","coreutils","diffutils","gcc","grep","make","sed"] +depends: ["glibc","readline","sh"] type: source diff --git a/source.sh b/source.sh index 0b000ca..68a52a2 100644 --- a/source.sh +++ b/source.sh @@ -31,4 +31,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/gdbm/COPYING }