summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-08-06 19:01:29 -0700
committerAndy Weidenbaum2017-08-06 19:01:29 -0700
commit6a050539ae6955679c4d7607b64ddffb33b35b78 (patch)
treedd66d4595b02f506aa2193a437b3cb3e932c2abb /PKGBUILD
parent6cfd42c285a0e326f221d267333d351a7456e33f (diff)
downloadaur-perl6-test-notice.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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 7 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3e09883ff2b..019be6e1737 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=perl6-test-notice
pkgver=1.001001
-pkgrel=1
+pkgrel=2
pkgdesc="Display noticable messages to users during tests"
arch=('any')
depends=('perl6')
checkdepends=('perl' 'perl6-test-meta')
-makedepends=('alacryd' 'git')
+makedepends=('git')
groups=('perl6')
url="https://github.com/zoffixznet/perl6-Test-Notice"
license=('PerlArtistic')
@@ -31,20 +31,10 @@ package() {
install -Dm 644 *.md *.png -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=.
}