summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 06:22:23 -0800
committerAndy Weidenbaum2016-02-23 06:22:23 -0800
commita01f50857b36f9a23098af9ba320534d5b107859 (patch)
treec252c89252a2f097e45b6509a404770b508647be
parent74534129d684b10a58f9e4d4deb91d1f2086f835 (diff)
downloadaur-a01f50857b36f9a23098af9ba320534d5b107859.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 80d9d5c8939..68a98361259 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Jan 25 23:06:20 UTC 2016
+# Tue Feb 23 14:20:40 UTC 2016
pkgbase = frinfon
pkgdesc = Minimal Sinatra for Perl6
pkgver = 0.0.1
diff --git a/PKGBUILD b/PKGBUILD
index 17670598bda..81ae8670d88 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