# Maintainer: Andy Weidenbaum pkgname=perl6-irc-utils pkgver=0.2.0 pkgrel=2 pkgdesc="A Perl 6 port of the IRC::Utils module" arch=('any') depends=('perl6') checkdepends=('perl') makedepends=('git') groups=('perl6') url="https://github.com/perl6-community-modules/p6-irc-utils" license=('PerlArtistic') source=($pkgname-$pkgver::git+https://github.com/perl6-community-modules/p6-irc-utils) sha256sums=('SKIP') check() { cd "$srcdir/$pkgname-$pkgver" msg2 'Running tests...' PERL6LIB=lib prove -r -e perl6 } package() { cd "$srcdir/$pkgname-$pkgver" msg2 'Installing license...' install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" msg2 'Installing documentation...' install -Dm 644 README -t "$pkgdir/usr/share/doc/$pkgname" msg2 'Installing...' export RAKUDO_LOG_PRECOMP=1 export RAKUDO_RERESOLVE_DEPENDENCIES=0 perl6-install-dist \ --to="$pkgdir/usr/share/perl6/vendor" \ --for=vendor \ --from=. }