Fix dependencies and add license

This commit is contained in:
2025-05-11 11:24:28 +03:00
parent acab58da62
commit 0b1f47abc2
2 changed files with 5 additions and 3 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
name: grep name: grep
description: GNU string search utility description: GNU string search utility
version: 3.11 version: 3.11
revision: 2 revision: 3
url: https://www.gnu.org/software/grep/ url: https://www.gnu.org/software/grep/
license: GPL3 license: GPL3
architecture: any architecture: any
depends: ["glibc", "pcre2"] depends: ["glibc","pcre2"]
make_depends: ["texinfo"]
type: source type: source
+3
View File
@@ -29,4 +29,7 @@ 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 package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/grep/COPYING
} }