summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD23
2 files changed, 9 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f8faae0392a..493a7817481 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Fri May 13 18:23:57 UTC 2016
+# Mon Aug 7 02:01:14 UTC 2017
pkgbase = perl6-pkafka
pkgdesc = Apache Kafka client
pkgver = 0.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mempko/PKafka
arch = any
groups = perl6
license = LGPL3
checkdepends = perl
- makedepends = alacryd
makedepends = git
depends = perl6
source = perl6-pkafka-0.0.1::git+https://github.com/mempko/PKafka
diff --git a/PKGBUILD b/PKGBUILD
index 87f3dee7e04..d2acc2530a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=perl6-pkafka
pkgver=0.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Apache Kafka client"
arch=('any')
depends=('perl6')
checkdepends=('perl')
-makedepends=('alacryd' 'git')
+makedepends=('git')
groups=('perl6')
url="https://github.com/mempko/PKafka"
license=('LGPL3')
@@ -31,19 +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 '{}' \;
- 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=.
}