Fix dependencies and license

This commit is contained in:
2025-05-12 12:26:44 +03:00
parent 02f0d20620
commit 434c453557
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -4,4 +4,5 @@ version: 1.19
url: https://github.com/rpm-software-management/popt url: https://github.com/rpm-software-management/popt
license: MIT license: MIT
architecture: any architecture: any
depends: ["glibc"]
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/popt/COPYING
} }