Date: Thursday, April 11, 2019 @ 05:08:45 Author: felixonmars Revision: 450932
addpkg: perl-data-munge 0.097-1 Added: perl-data-munge/ perl-data-munge/repos/ perl-data-munge/trunk/ perl-data-munge/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: perl-data-munge/trunk/PKGBUILD =================================================================== --- perl-data-munge/trunk/PKGBUILD (rev 0) +++ perl-data-munge/trunk/PKGBUILD 2019-04-11 05:08:45 UTC (rev 450932) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-data-munge +pkgver=0.097 +pkgrel=1 +pkgdesc="Various utility functions" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/Data-Munge" +depends=('perl') +checkdepends=('perl-test-warnings') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/M/MA/MAUKE/Data-Munge-$pkgver.tar.gz") +sha512sums=('9f71ca08d4f96242f649ef9eeede78cfafce0857a7d423512a24cafc7c22d335a148f23a6d78197244a09a73f1ea095fc262a3c8d318432117da31b7d9759d63') + +build() { + cd Data-Munge-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Data-Munge-$pkgver + make test +} + +package() { + cd Data-Munge-$pkgver + make DESTDIR="$pkgdir" install +}