Package Details: perl-data-dpath 0.59-1

Git Clone URL: https://aur.archlinux.org/perl-data-dpath.git (read-only, click to copy)
Package Base: perl-data-dpath
Description: A library that provides data structures inspired by XPath
Upstream URL: https://metacpan.org/release/Data-DPath
Licenses: LicenseRef-GPL-1.0-or-later OR Artistic-1.0-Perl
Submitter: xenoterracide
Maintainer: None
Last Packager: MarsSeed
Votes: 1
Popularity: 0.000000
First Submitted: 2010-02-17 06:35 (UTC)
Last Updated: 2024-02-16 17:29 (UTC)

Latest Comments

Excalibur commented on 2023-12-20 09:07 (UTC)

Manually updated PKGBUILD:

# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
# Generator  : CPANPLUS::Dist::Arch 1.28

pkgname='perl-data-dpath'
pkgver='0.59'
pkgrel='1'
pkgdesc="DPath is not XPath!"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-class-xsaccessor' 'perl-iterator-util' 'perl-list-moreutils' 'perl-sub-exporter' 'perl-aliased')
makedepends=()
checkdepends=('perl-test-deep')
url='https://metacpan.org/dist/Data-DPath'
source=("https://cpan.metacpan.org/authors/id/S/SC/SCHWIGON/Data-DPath-${pkgver}.tar.gz")
sha512sums=('1020402bf810ef2c0f84ca002819b5235090df1ea83f70f4c846afa4e485868cd8d6583268cfeaf4c77a6ea37fdee803c98aa77d74c4df70b543c35e87ad1e0b')
_distdir="Data-DPath-${pkgver}"

build() {
  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
      PERL_AUTOINSTALL=--skipdeps                            \
      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
      MODULEBUILDRC=/dev/null

    cd "$srcdir/$_distdir"
    /usr/bin/perl Makefile.PL
    make
  )
}

check() {
  cd "$srcdir/$_distdir"
  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
    make test
  )
}

package() {
  cd "$srcdir/$_distdir"
  make install

  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}

# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et: