summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-08-06 19:01:26 -0700
committerAndy Weidenbaum2017-08-06 19:01:26 -0700
commitcd7490682410dd50edb01b41ebe3ac4f348434af (patch)
tree4e6b7a358ec0a92d431a6bb8f7ae1adbd6707f7e
parent778ab1d1232b20642bbceb6791f687db4a257fad (diff)
downloadaur-cd7490682410dd50edb01b41ebe3ac4f348434af.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, 9 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc404fd7a6e..d3572e13c98 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Fri May 13 18:23:55 UTC 2016
+# Mon Aug 7 02:01:12 UTC 2017
pkgbase = perl6-grammar-parsefail
pkgdesc = Syntax error reporting for Perl 6 grammars
pkgver = 0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ShimmerFairy/grammar-parsefail
arch = any
groups = perl6
license = PerlArtistic
checkdepends = perl
- makedepends = alacryd
makedepends = git
depends = perl6
source = perl6-grammar-parsefail-0.1::git+https://github.com/ShimmerFairy/grammar-parsefail
diff --git a/PKGBUILD b/PKGBUILD
index 0fec1688357..5eeddecfc31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=perl6-grammar-parsefail
pkgver=0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Syntax error reporting for Perl 6 grammars"
arch=('any')
depends=('perl6')
checkdepends=('perl')
-makedepends=('alacryd' 'git')
+makedepends=('git')
groups=('perl6')
url="https://github.com/ShimmerFairy/grammar-parsefail"
license=('PerlArtistic')
@@ -28,19 +28,10 @@ package() {
install -Dm 644 README.pod6 -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 | xargs -0 sed -i "s,$pkgdir,,g"
+ export RAKUDO_RERESOLVE_DEPENDENCIES=0
+ perl6-install-dist \
+ --to="$pkgdir/usr/share/perl6/vendor" \
+ --for=vendor \
+ --from=.
}