From b97737cd5b9fb6e019829df1252ccda82d147f76 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 12 May 2025 12:25:19 +0300 Subject: [PATCH] Fix dependencies and license --- pkg.info | 5 ++--- source.sh | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 377dcb7..c097242 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: perl-xml-parser description: A perl module for parsing xml documents version: 2.47 -revision: 2 +revision: 3 url: https://github.com/chorny/XML-Parser license: GPL,PerlArtistic architecture: any -depends: ["expat","glibc","perl"] -make_depends: ["bash","binutils","coreutils","expat","gcc","glibc","make","perl"] +depends: ["expat"] type: source diff --git a/source.sh b/source.sh index d98284b..e12bbd4 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"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/perl-xml-parser/LICENSE }