From a087e58c25be903b5e06b30715f061764101823f Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 11 May 2025 15:15:21 +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 830f989..8db1e92 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: libpipeline description: C library for manipulating pipelines of subprocesses in a flexible and convenient way version: 1.5.7 -revision: 2 +revision: 3 url: https://libpipeline.nongnu.org/ license: GPL3-or-later architecture: any depends: ["glibc"] -make_depends: ["bash","binutils","coreutils","diffutils","gawk","gcc","glibc","grep","make","sed","texinfo"] type: source diff --git a/source.sh b/source.sh index 72d3ee8..5df193b 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/libpipeline/COPYING }