diff options
author | Andy Weidenbaum | 2017-09-06 23:04:47 -0700 |
---|---|---|
committer | Andy Weidenbaum | 2017-09-06 23:04:47 -0700 |
commit | 381f422f29c8f61f7b69a35d795e01b0a6d50ca6 (patch) | |
tree | 4d245481baacee82fe5f1cc0f0cce39bf410875b | |
download | aur-381f422f29c8f61f7b69a35d795e01b0a6d50ca6.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..56ee0346ac43 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Thu Sep 7 06:04:16 UTC 2017 +pkgbase = perl6-cro-http + pkgdesc = Libraries for building reactive services in Perl6 - http part + pkgver = 0.7 + pkgrel = 1 + url = https://github.com/croservices/cro-http + arch = any + groups = croservices + groups = perl6 + license = PerlArtistic + checkdepends = perl + makedepends = git + depends = perl6 + depends = perl6-base64 + depends = perl6-cro-core + depends = perl6-cro-ssl + depends = perl6-http-hpack + depends = perl6-io-path-childsecure + depends = perl6-io-socket-async-ssl + depends = perl6-oo-monitors + source = perl6-cro-http-0.7::git+https://github.com/croservices/cro-http + sha256sums = SKIP + +pkgname = perl6-cro-http + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..292aa3635274 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=perl6-cro-http +pkgver=0.7 +pkgrel=1 +pkgdesc="Libraries for building reactive services in Perl6 - http part" +arch=('any') +depends=('perl6' + 'perl6-base64' + 'perl6-cro-core' + 'perl6-cro-ssl' + 'perl6-http-hpack' + 'perl6-io-path-childsecure' + 'perl6-io-socket-async-ssl' + 'perl6-oo-monitors') +checkdepends=('perl') +makedepends=('git') +groups=('croservices' 'perl6') +url="https://github.com/croservices/cro-http" +license=('PerlArtistic') +source=($pkgname-$pkgver::git+https://github.com/croservices/cro-http) +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.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=. +} |