summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 06:41:06 -0800
committerAndy Weidenbaum2016-02-23 06:41:06 -0800
commit671519f3e87c5ea2b4cd8b641207e9f223465318 (patch)
tree60a8d51f1b7fdec741ef3e7fa12c392f22e6e65e
parent8ebf5580a47f18b74cd3b5d732ed5876dbd99443 (diff)
downloadaur-671519f3e87c5ea2b4cd8b641207e9f223465318.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 88936d1eccc..b9e57195041 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Jan 9 07:00:41 UTC 2016
+# Tue Feb 23 14:20:42 UTC 2016
pkgbase = perl6-http-parser
pkgdesc = HTTP parser
pkgver = 0.0.1
diff --git a/PKGBUILD b/PKGBUILD
index fba016c0a6c..e87b8d7fcc1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,11 +37,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