summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 06:38:50 -0800
committerAndy Weidenbaum2016-02-23 06:38:50 -0800
commit3ba588318ddb55ff2a37572be24004e6cec4ed12 (patch)
treee1418b108bd05b8b585deb05bb47bd2ec8296dd5
parentdfc4becf59c8fc479aee2e88bd15fcd7a1fb4d3e (diff)
downloadaur-3ba588318ddb55ff2a37572be24004e6cec4ed12.tar.gz
simplify precomp grep, credit spider-mario
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 2 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a611470d8fb..0fe430b6e71 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Jan 5 01:35:30 UTC 2016
+# Tue Feb 23 14:20:42 UTC 2016
pkgbase = perl6-grammar-parsefail
pkgdesc = Syntax error reporting for Perl 6 grammars
pkgver = 0.1
diff --git a/PKGBUILD b/PKGBUILD
index 9b96a164faa..0f4eb8bdbc2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,11 +34,7 @@ package() {
alacryd install
msg2 'Removing redundant precomp file dependencies...'
- _precomp=($(pacman -Qg perl6 \
- | awk '{print $2}' \
- | xargs pacman -Ql \
- | awk '{print $2}' \
- | grep precomp))
+ _precomp=($(pacman -Qqg perl6 | pacman -Qql - | grep precomp))
for _pc in "${_precomp[@]}"; do
[[ -f "$pkgdir/$_pc" ]] && rm -f "$pkgdir/$_pc"
done