upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-xml-xpath / trunk / PKGBUILD
blob748f9a4c05bc700d0df8832077344a5842ab5053
1 #Maintainer:
3 pkgname=perl-xml-xpath
4 pkgver=1.48
5 pkgrel=1
6 pkgdesc="A set of modules for parsing and evaluating XPath statements"
7 arch=('any')
8 url="https://metacpan.org/release/XML-XPath"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl' 'perl-xml-parser')
11 options=('!emptydirs')
12 source=("https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-$pkgver.tar.gz")
13 sha256sums=('7bc75be36b239e5b2e700a9570d2b53b43093d467f2abe6a743f9ff9093790cd')
15 build() {
16   cd "${srcdir}/XML-XPath-${pkgver}"
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd "${srcdir}/XML-XPath-${pkgver}"
23 #  make test
26 package() {
27   cd "${srcdir}/XML-XPath-${pkgver}"
28   make DESTDIR="$pkgdir" install