summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-08-06 19:01:24 -0700
committerAndy Weidenbaum2017-08-06 19:01:24 -0700
commit704355cbf53df4a83e28f2da0aad69f0424a2918 (patch)
tree9c1a934850cccf68a4e3d5601533c39f7c575ac1
parentba98dd022e8f092fc6fd1173122503b1f25bccde (diff)
downloadaur-704355cbf53df4a83e28f2da0aad69f0424a2918.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 f3fbf2a0df4..ea9221f7a3b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Fri May 13 18:23:53 UTC 2016
+# Mon Aug 7 02:01:12 UTC 2017
pkgbase = perl6-crust
pkgdesc = Perl6 Superglue for Web frameworks and Web Servers
pkgver = 0.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/tokuhirom/p6-Crust
arch = any
groups = perl6
license = PerlArtistic
checkdepends = perl
- makedepends = alacryd
makedepends = git
depends = perl6
depends = perl6-apache-logformat
diff --git a/PKGBUILD b/PKGBUILD
index e9ba9a2aaf2..1a3b5fce29a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=perl6-crust
pkgver=0.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Perl6 Superglue for Web frameworks and Web Servers"
arch=('any')
depends=('perl6'
@@ -21,7 +21,7 @@ depends=('perl6'
'perl6-http-useragent'
'perl6-uri')
checkdepends=('perl')
-makedepends=('alacryd' 'git')
+makedepends=('git')
groups=('perl6')
url="https://github.com/tokuhirom/p6-Crust"
license=('PerlArtistic')
@@ -45,19 +45,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 | xargs -0 sed -i "s,$pkgdir,,g"
+ export RAKUDO_RERESOLVE_DEPENDENCIES=0
+ perl6-install-dist \
+ --to="$pkgdir/usr/share/perl6/vendor" \
+ --for=vendor \
+ --from=.
}