diff --git a/src/xml-parser/changes.md b/src/xml-parser/changes.md index f80b475..852f051 100644 --- a/src/xml-parser/changes.md +++ b/src/xml-parser/changes.md @@ -1,2 +1,6 @@ +# 2.47m1 +Use INSTALLDIRS=vendor option while running the make script to make sure the +installation is done correctly + # 2.47 First version diff --git a/src/xml-parser/pkg.sh b/src/xml-parser/pkg.sh index c6924a9..70f3287 100644 --- a/src/xml-parser/pkg.sh +++ b/src/xml-parser/pkg.sh @@ -1,10 +1,10 @@ # general info NAME="xml-parser" DESC=" Perl module for parsing XML documents" -VERSION="2.47" +VERSION="2.47m1" # required files -FILES=("https://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${VERSION}.tar.gz") +FILES=("https://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${VERSION%m*}.tar.gz") HASHES=("3f9de53341bc85b87c88ad31e04b13f1f95516eec0d7e5fd1c1a3b3e66a91ca3d4de7c649978599219a4d4372f6218764ab5e1805b7155b5ca200006e1b0908f") # install and build depends @@ -12,12 +12,12 @@ DEPENDS=("perl" "expat") BUILD=() PACKAGE(){ - tar xf "XML-Parser-${VERSION}.tar.gz" - cd "XML-Parser-${VERSION}" + tar xf "XML-Parser-${VERSION%m*}.tar.gz" + cd "XML-Parser-${VERSION%m*}" - perl Makefile.PL + perl Makefile.PL INSTALLDIRS=vendor make make DESTDIR="${ROOTDIR}" install - cd .. && rm -r "XML-Parser-${VERSION}" + cd .. && rm -r "XML-Parser-${VERSION%m*}" }