Date: Thursday, April 22, 2021 @ 12:26:32 Author: felixonmars Revision: 920981
addpkg: perl-ppix-utils 0.003-1 Added: perl-ppix-utils/ perl-ppix-utils/repos/ perl-ppix-utils/trunk/ perl-ppix-utils/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: perl-ppix-utils/trunk/PKGBUILD =================================================================== --- perl-ppix-utils/trunk/PKGBUILD (rev 0) +++ perl-ppix-utils/trunk/PKGBUILD 2021-04-22 12:26:32 UTC (rev 920981) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <[email protected]> + +pkgname=perl-ppix-utils +pkgver=0.003 +pkgrel=1 +pkgdesc="Utility functions for PPI" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/PPIx-Utils" +depends=('perl-b-keywords' 'perl-ppi') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/D/DB/DBOOK/PPIx-Utils-$pkgver.tar.gz") +sha512sums=('7f56bc2bf2afbf1f6d3c0e5bc0ed21752be809714e32b256feb1ea39125c7671c6ef949e2c122a95a41d3a603f5d5253133886f3700890387ad6cf0732ab87c6') + +build() { + cd PPIx-Utils-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd PPIx-Utils-$pkgver + make test +} + +package() { + cd PPIx-Utils-$pkgver + make DESTDIR="$pkgdir" install +}
