From b837ec7ff25833962b58109cd8daeb3b4f6fd2ab Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 11 May 2025 12:00:56 +0300 Subject: [PATCH] Remove check function and add license --- pkg.info | 1 + source.sh | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/pkg.info b/pkg.info index 3ca1219..ea65ade 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,7 @@ name: help2man description: Conversion tool to create man files version: 1.49.3 +revision: 2 url: https://www.gnu.org/software/help2man license: GPL architecture: any diff --git a/source.sh b/source.sh index 30816f1..e437d1f 100644 --- a/source.sh +++ b/source.sh @@ -19,14 +19,11 @@ build() { make } -# The check function is executed in the source directory -# This function is used to run tests to verify the package has been compiled correctly -check() { - make check -} - # The package function is executed in the source directory # 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/help2man/COPYING }