summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 06:37:58 -0800
committerAndy Weidenbaum2016-02-23 06:37:58 -0800
commit5e630af997c607eeceddb1b6b15ec8043c8cb8d0 (patch)
tree03b052f8db0901dc01489aebb1b38485a74a2aaf
parent96a0d29240bada5a8365650a49b5f4cf788162be (diff)
downloadaur-5e630af997c607eeceddb1b6b15ec8043c8cb8d0.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 1c3ac640f10..a1919ee7ad0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Jan 25 22:32:00 UTC 2016
+# Tue Feb 23 14:20:41 UTC 2016
pkgbase = perl6-getopt-tiny
pkgdesc = Tiny option parser for Perl6
pkgver = 0.0.1
diff --git a/PKGBUILD b/PKGBUILD
index a875b9d09ff..9e7d5826f5b 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