summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 06:46:22 -0800
committerAndy Weidenbaum2016-02-23 06:46:22 -0800
commite8741b7db3cfab7ba7df69341a7151ce129c1cf3 (patch)
tree3af6f62a5b4246235e02715b7827e8d9483909b6
parent4225476bb1ec2135d4cde9b72f33939d85e5912a (diff)
downloadaur-e8741b7db3cfab7ba7df69341a7151ce129c1cf3.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 6de6e89320d..9bb1757e94e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri Jan 8 01:52:13 UTC 2016
+# Tue Feb 23 14:20:43 UTC 2016
pkgbase = perl6-json-pretty
pkgdesc = A minimal JSON (de)serializer that produces easily readable JSON
pkgver = 0.1.0
diff --git a/PKGBUILD b/PKGBUILD
index d71d23f678d..491aae80c8d 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