From 434c453557f96dc0252b3ca139734168951a55f4 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 12 May 2025 12:26:44 +0300 Subject: [PATCH] Fix dependencies and license --- pkg.info | 1 + source.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/pkg.info b/pkg.info index 757cb75..afc47ec 100644 --- a/pkg.info +++ b/pkg.info @@ -4,4 +4,5 @@ version: 1.19 url: https://github.com/rpm-software-management/popt license: MIT architecture: any +depends: ["glibc"] type: source diff --git a/source.sh b/source.sh index 0c3dda3..fb4c024 100644 --- a/source.sh +++ b/source.sh @@ -29,4 +29,7 @@ check() { # This function is used to move the compiled files into the output directory package() { make DESTDIR="$BPM_OUTPUT" install + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/popt/COPYING }