diff --git a/lfs-12.2-systemd/perl-xml-parser-2.47.PKGBUILD b/lfs-12.2-systemd/perl-xml-parser-2.47.PKGBUILD new file mode 100644 index 0000000..43f5eeb --- /dev/null +++ b/lfs-12.2-systemd/perl-xml-parser-2.47.PKGBUILD @@ -0,0 +1,26 @@ +pkgname=perl-xml-parser +pkgver=2.47 +pkgdesc="Expat-based XML parser module for perl" +license=('GPL' 'PerlArtistic') +homepage="https://github.com/chorny/XML-Parser" +sources=("XML-Parser-${pkgver}.tar.gz") +urls=("https://cpan.metacpan.org/authors/id/T/TO/TODDR/${sources[0]}") +md5sums=("89a8e82cfd2ad948b349c0a69c494463") + +src_prepare() { + tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 +} + +src_build() { + perl Makefile.PL + make +} + +src_check() { + make test +} + +src_install() { + make DESTDIR="${pkgdir}" install +} +