new: lfs-12.2-systemd/perl-xml-parser-2.47
This commit is contained in:
parent
64160bd8ce
commit
3a9271875a
26
lfs-12.2-systemd/perl-xml-parser-2.47.PKGBUILD
Normal file
26
lfs-12.2-systemd/perl-xml-parser-2.47.PKGBUILD
Normal file
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user