From aeb34655aa6531282774238b55661369fe2256e0 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 11 May 2025 11:18:45 +0300 Subject: [PATCH] Fix dependencies and add license --- pkg.info | 3 +-- source.sh | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg.info b/pkg.info index c321951..cdde770 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: gperf description: GNU perfect hash function generator version: 3.1 -revision: 2 +revision: 3 url: https://www.gnu.org/software/gperf/ license: GPL3-or-later architecture: any depends: ["gcc","glibc"] -make_depends: ["bash","binutils","coreutils","gcc","glibc","make"] type: source diff --git a/source.sh b/source.sh index 6b374ee..8c1f457 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/gperf/COPYING }