Fix dependencies and add license

This commit is contained in:
2025-05-11 11:39:16 +03:00
parent 61742de9d3
commit 72e117b226
2 changed files with 7 additions and 3 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
name: groff
description: GNU troff text-formatting system
version: 1.23.0
revision: 2
revision: 3
url: https://www.gnu.org/software/groff/
license: GPL3-or-later
architecture: any
depends: ["gcc","glibc","perl"]
make_depends: ["bash","binutils","bison","coreutils","gawk","gcc","glibc","grep","make","patch","sed","texinfo"]
depends: ["gcc","perl"]
optional_depends: ["libxaw"]
make_depends: ["libxaw"]
type: source
+3
View File
@@ -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/groff/COPYING
}