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 }