summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-08-06 19:01:23 -0700
committerAndy Weidenbaum2017-08-06 19:01:23 -0700
commitda68c947b6bcb811259cb6b8a8cb6d1f3a4e3258 (patch)
treefcdeeb21264dfee0633332a29904c11d5ba30c0b
parent32e625fd9477273fee4d718bf258c74235493516 (diff)
downloadaur-bamboo.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--.SRCINFO5
-rw-r--r--PKGBUILD23
2 files changed, 10 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ab4b8507ab..6da600ff4ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Fri May 13 18:23:52 UTC 2016
+# Mon Aug 7 02:01:11 UTC 2017
pkgbase = bamboo
pkgdesc = Perl6 dependency manager (bundler)
pkgver = 0.0.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/sergot/bamboo
arch = any
groups = perl6
license = PerlArtistic
checkdepends = perl
- makedepends = alacryd
makedepends = git
depends = panda
depends = perl6
diff --git a/PKGBUILD b/PKGBUILD
index b1ab92e58fa..ea1e359a04f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=bamboo
pkgver=0.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="Perl6 dependency manager (bundler)"
arch=('any')
depends=('panda' 'perl6' 'perl6-json-fast')
checkdepends=('perl')
-makedepends=('alacryd' 'git')
+makedepends=('git')
groups=('perl6')
url="https://github.com/sergot/bamboo"
license=('PerlArtistic')
@@ -28,17 +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 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 '{}' \;
+ export RAKUDO_LOG_PRECOMP=1
+ export RAKUDO_RERESOLVE_DEPENDENCIES=0
+ perl6-install-dist \
+ --to="$pkgdir/usr/share/perl6/vendor" \
+ --for=vendor \
+ --from=.
}