Fix dependencies, add comments and license

This commit is contained in:
2025-05-12 16:11:30 +03:00
parent 03a4272e2f
commit 9c8d99ed84
2 changed files with 10 additions and 5 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
name: sed name: sed
description: GNU stream editor description: GNU stream editor
version: 4.9 version: 4.9
revision: 2 revision: 3
url: https://www.gnu.org/software/sed/ url: https://www.gnu.org/software/sed/
license: GPL3 license: GPL3
architecture: any architecture: any
depends: ["acl","attr","glibc"] depends: ["acl","glibc"]
make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","grep","make","sed","texinfo"] make_depends: ["gettext"]
type: source type: source
+7 -2
View File
@@ -30,6 +30,11 @@ check() {
# 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 -d -m755 "$BPM_OUTPUT"/usr/share/doc/sed
install -m644 doc/sed.html "$BPM_OUTPUT"/usr/share/doc/sed # Install documentation
install -d "$BPM_OUTPUT"/usr/share/doc/sed
install -m644 doc/sed.html "$BPM_OUTPUT"/usr/share/doc/sed/sed.html
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/sed/COPYING
} }