diff --git a/pkg.info b/pkg.info index f3c216e..8b1948c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,10 @@ name: sed description: GNU stream editor version: 4.9 -revision: 2 +revision: 3 url: https://www.gnu.org/software/sed/ license: GPL3 architecture: any -depends: ["acl","attr","glibc"] -make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","grep","make","sed","texinfo"] +depends: ["acl","glibc"] +make_depends: ["gettext"] type: source diff --git a/source.sh b/source.sh index fafd33c..4fed2dd 100644 --- a/source.sh +++ b/source.sh @@ -30,6 +30,11 @@ check() { # This function is used to move the compiled files into the output directory package() { 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 }