diff options
author | Andy Weidenbaum | 2017-08-06 19:01:29 -0700 |
---|---|---|
committer | Andy Weidenbaum | 2017-08-06 19:01:29 -0700 |
commit | 44ff54d5c606e98db25fc2e5c28ae8f90ee27ed9 (patch) | |
tree | f5c2130266bcb555ad6b0905d747d73ee589e555 | |
parent | a3f6cd47707ec6720474272353a1457490a6b63d (diff) | |
download | aur-44ff54d5c606e98db25fc2e5c28ae8f90ee27ed9.tar.gz |
increment pkgrel; replace alacryd w/ install-dist
export RAKUDO_LOG_PRECOMP=1
export RAKUDO_RERESOLVE_DEPENDENCIES=0
perl6-install-dist \
--to="$pkgdir/usr/share/perl6/vendor" \
--for=vendor \
--from=.
Thanks to Jonathon Fernyhough for figuring this out. Had just about
given up on installing p6 pkgs system wide on arch.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 9 insertions, 20 deletions
@@ -1,15 +1,14 @@ # Generated by mksrcinfo v8 -# Wed Aug 3 04:08:28 UTC 2016 +# Mon Aug 7 02:01:14 UTC 2017 pkgbase = perl6-test-when pkgdesc = Selectively run tests based on the environment and installed modules and libs pkgver = 1.001001 - pkgrel = 1 + pkgrel = 2 url = https://github.com/zoffixznet/perl6-Test-When arch = any groups = perl6 license = PerlArtistic checkdepends = perl - makedepends = alacryd makedepends = git depends = perl6 source = perl6-test-when-1.001001::git+https://github.com/zoffixznet/perl6-Test-When @@ -2,12 +2,12 @@ pkgname=perl6-test-when pkgver=1.001001 -pkgrel=1 +pkgrel=2 pkgdesc="Selectively run tests based on the environment and installed modules and libs" arch=('any') depends=('perl6') checkdepends=('perl') -makedepends=('alacryd' 'git') +makedepends=('git') groups=('perl6') url="https://github.com/zoffixznet/perl6-Test-When" license=('PerlArtistic') @@ -31,20 +31,10 @@ package() { install -Dm 644 Changes *.md -t "$pkgdir/usr/share/doc/$pkgname" msg2 'Installing...' - install -dm 755 "$pkgdir/usr/share/perl6/vendor" export RAKUDO_LOG_PRECOMP=1 - export PERL6LIB="inst#$pkgdir/usr/share/perl6/vendor" - alacryd install - - msg2 'Removing redundant precomp file dependencies...' - _precomp=($(pacman -Qqg perl6 | pacman -Qql - | grep -E 'dist|precomp' || true)) - for _pc in "${_precomp[@]}"; do - [[ -f "$pkgdir/$_pc" ]] && rm -f "$pkgdir/$_pc" - done - - msg2 'Cleaning up pkgdir...' - rm -f "$pkgdir/usr/share/perl6/vendor/version" - find "$pkgdir" -type f -name "*.lock" -exec rm '{}' + - find "$pkgdir" -type f -print0 -exec \ - sed -i -e "s,$pkgdir,,g" -e "s,$srcdir,,g" '{}' + + export RAKUDO_RERESOLVE_DEPENDENCIES=0 + perl6-install-dist \ + --to="$pkgdir/usr/share/perl6/vendor" \ + --for=vendor \ + --from=. } |