mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:47:21 +08:00
30 lines
671 B
Bash
30 lines
671 B
Bash
#Maintainer: AlmAck
|
|
|
|
pkgname=perl-xml-xpath
|
|
pkgver=1.13
|
|
pkgrel=1
|
|
pkgdesc="A set of modules for parsing and evaluating XPath statements"
|
|
arch=('any')
|
|
url="https://metacpan.org/release/XML-XPath"
|
|
license=('PerlArtistic' 'GPL')
|
|
depends=('perl' 'perl-xml-parser')
|
|
options=('!emptydirs')
|
|
source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-XPath-${pkgver}.tar.gz")
|
|
sha1sums=('72a8e7a71f5d0b46e004adfbc5c5dbf59affd03c')
|
|
|
|
build() {
|
|
cd "${srcdir}/XML-XPath-${pkgver}"
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/XML-XPath-${pkgver}"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/XML-XPath-${pkgver}"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|