Remove check function and add license

This commit is contained in:
2025-05-11 12:00:56 +03:00
parent 7d8e155ac4
commit b837ec7ff2
2 changed files with 4 additions and 6 deletions
+1
View File
@@ -1,6 +1,7 @@
name: help2man name: help2man
description: Conversion tool to create man files description: Conversion tool to create man files
version: 1.49.3 version: 1.49.3
revision: 2
url: https://www.gnu.org/software/help2man url: https://www.gnu.org/software/help2man
license: GPL license: GPL
architecture: any architecture: any
+3 -6
View File
@@ -19,14 +19,11 @@ build() {
make 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 # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
make DESTDIR="$BPM_OUTPUT" install make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/help2man/COPYING
} }