Fix dependencies and license

This commit is contained in:
2025-05-12 12:25:19 +03:00
parent ad5ff81e5a
commit b97737cd5b
2 changed files with 5 additions and 3 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
name: perl-xml-parser name: perl-xml-parser
description: A perl module for parsing xml documents description: A perl module for parsing xml documents
version: 2.47 version: 2.47
revision: 2 revision: 3
url: https://github.com/chorny/XML-Parser url: https://github.com/chorny/XML-Parser
license: GPL,PerlArtistic license: GPL,PerlArtistic
architecture: any architecture: any
depends: ["expat","glibc","perl"] depends: ["expat"]
make_depends: ["bash","binutils","coreutils","expat","gcc","glibc","make","perl"]
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"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/perl-xml-parser/LICENSE
} }