summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-08-06 19:01:25 -0700
committerAndy Weidenbaum2017-08-06 19:01:25 -0700
commit7c586d7a7dae057dcb2839742c8c0d9afd758e5c (patch)
treeb2d8e8e36c65ac02006055500ff54d95a5958f3c
parent56b6499c7a6475989e2087fe978d32a4502ab59f (diff)
downloadaur-perl6-fastcgi-nativecall.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--PKGBUILD22
2 files changed, 9 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b35f7665739..110115b7f66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Fri May 13 18:23:54 UTC 2016
+# Mon Aug 7 02:01:12 UTC 2017
pkgbase = perl6-fastcgi-nativecall
pkgdesc = An implementation of FastCGI using NativeCall
pkgver = 0.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/carbin/p6-fcgi
arch = any
groups = perl6
license = MIT
checkdepends = perl
- makedepends = alacryd
makedepends = git
depends = perl6
source = perl6-fastcgi-nativecall-0.0.1::git+https://github.com/carbin/p6-fcgi
diff --git a/PKGBUILD b/PKGBUILD
index cf203ace98f..a07caca2ecc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=perl6-fastcgi-nativecall
pkgver=0.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="An implementation of FastCGI using NativeCall"
arch=('any')
depends=('perl6')
checkdepends=('perl')
-makedepends=('alacryd' 'git')
+makedepends=('git')
groups=('perl6')
url="https://github.com/carbin/p6-fcgi"
license=('MIT')
@@ -31,18 +31,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 '{}' \;
+ export RAKUDO_RERESOLVE_DEPENDENCIES=0
+ perl6-install-dist \
+ --to="$pkgdir/usr/share/perl6/vendor" \
+ --for=vendor \
+ --from=.
}