summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 07:00:31 -0800
committerAndy Weidenbaum2016-02-23 07:00:31 -0800
commit3bb990c41306326453f03e684867c33c3b7b92da (patch)
treee70c51916fac027cc3fb630e0cb6180a8beaeff8
parent6dab54447f08c842f2ef47e82ef9bada12341845 (diff)
downloadaur-3bb990c41306326453f03e684867c33c3b7b92da.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 b4d3e0269ae..10d12391560 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri Jan 8 00:12:04 UTC 2016
+# Tue Feb 23 14:20:45 UTC 2016
pkgbase = perl6-text-csv
pkgdesc = Handle CSV data in perl6
pkgver = 0.002
diff --git a/PKGBUILD b/PKGBUILD
index 1c730e46daa..2b1eccb3541 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