Fix dependencies and add license

This commit is contained in:
2025-05-11 17:48:40 +03:00
parent 81a6fbe645
commit 32f3f1c159
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -1,7 +1,11 @@
name: mandoc name: mandoc
description: Manual page formatting utility description: Manual page formatting utility
version: 1.14.6 version: 1.14.6
revision: 2
url: https://mandoc.bsd.lv/ url: https://mandoc.bsd.lv/
license: ISC license: ISC
architecture: any architecture: any
depends: ["zlib"]
optional_depends: ["less"]
make_depends: ["less"]
type: source type: source
+3
View File
@@ -30,4 +30,7 @@ check() {
package() { package() {
install -Dvm755 mandoc "$BPM_OUTPUT"/usr/bin/mandoc install -Dvm755 mandoc "$BPM_OUTPUT"/usr/bin/mandoc
install -Dvm644 mandoc.1 "$BPM_OUTPUT"/usr/share/man/man1/mandoc.1 install -Dvm644 mandoc.1 "$BPM_OUTPUT"/usr/share/man/man1/mandoc.1
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/mandoc/LICENSE
} }