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
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
+3
View File
@@ -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
}