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 }