diff options
author | Andy Weidenbaum | 2018-06-29 21:57:22 -0400 |
---|---|---|
committer | Andy Weidenbaum | 2018-06-29 21:57:22 -0400 |
commit | ab3b3e3107a3cd27083119d7f5434bc5dcfaecc4 (patch) | |
tree | 8c0a7e2433526154e8169648aa7ccd7d400596d8 | |
download | aur-perl6-file-ignore.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..25b1de575fe0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl6-file-ignore + pkgdesc = Parsing and application of .gitignore-style ignore files + pkgver = 1.1 + pkgrel = 1 + url = https://github.com/jnthn/p6-file-ignore + arch = any + groups = perl6 + license = PerlArtistic + checkdepends = perl + makedepends = git + depends = perl6 + source = perl6-file-ignore-1.1::git+https://github.com/jnthn/p6-file-ignore + sha256sums = SKIP + +pkgname = perl6-file-ignore + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d6ca7b4bc848 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=perl6-file-ignore +pkgver=1.1 +pkgrel=1 +pkgdesc="Parsing and application of .gitignore-style ignore files" +arch=('any') +depends=('perl6') +checkdepends=('perl') +makedepends=('git') +groups=('perl6') +url="https://github.com/jnthn/p6-file-ignore" +license=('PerlArtistic') +source=($pkgname-$pkgver::git+https://github.com/jnthn/p6-file-ignore) +sha256sums=('SKIP') + +check() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Running tests...' + PERL6LIB=lib prove -r -e perl6 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Installing documentation...' + install -Dm 644 README.md -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=. +} |