summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD24
2 files changed, 9 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 56b5463e5e7..fb2d9653ab6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Fri Jul 1 00:35:49 UTC 2016
+# Mon Aug 7 02:01:12 UTC 2017
pkgbase = perl6-crane
pkgdesc = Navigate Perl6 containers and perform tasks
pkgver = 0.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/atweiden/crane
arch = any
groups = perl6
license = UNLICENSE
checkdepends = perl
- makedepends = alacryd
makedepends = git
depends = perl6
source = perl6-crane-0.0.1::git+https://github.com/atweiden/crane
diff --git a/PKGBUILD b/PKGBUILD
index 7a304311b20..d0849e3ef78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=perl6-crane
pkgver=0.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Navigate Perl6 containers and perform tasks"
arch=('any')
depends=('perl6')
checkdepends=('perl')
-makedepends=('alacryd' 'git')
+makedepends=('git')
groups=('perl6')
url="https://github.com/atweiden/crane"
license=('UNLICENSE')
@@ -28,20 +28,10 @@ package() {
install -Dm 644 README.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=.
}