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 }