initial import
This commit is contained in:
32
perl-xml-parser/PKGBUILD
Normal file
32
perl-xml-parser/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-xml-parser
|
||||
pkgver=2.46
|
||||
pkgrel=1
|
||||
pkgdesc="Expat-based XML parser module for perl"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL-1')
|
||||
url="https://search.cpan.org/dist/XML-Parser/"
|
||||
depends=('perl-libwww' 'expat')
|
||||
options=('!emptydirs')
|
||||
source=("https://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${pkgver}.tar.gz"
|
||||
'COPYING')
|
||||
sha512sums=('c4609495cc5ca34952f61876a690ef76d42eee6689d1bedb8036c9eab918525ec5213f1639c7178c029ee0f8765a2ca5eb0197f6e39b8be6d5dbc3f3c1d0b389'
|
||||
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
|
||||
|
||||
build() {
|
||||
cd XML-Parser-${pkgver}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd XML-Parser-${pkgver}
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd XML-Parser-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -D -m644 ${srcdir}/COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING
|
||||
}
|
||||
Reference in New Issue
Block a user