Remove check function and add license
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user