summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 06:51:03 -0800
committerAndy Weidenbaum2016-02-23 06:51:03 -0800
commit24dae1c241ea111fbd7ed52ab38fbc4de4ba2dc8 (patch)
treed36c3ad3b84eb1a6a39b617413a7ab54bba6f98a
parenta9a75081d7d144b2a38e6ea0ab62cdee15f2802f (diff)
downloadaur-24dae1c241ea111fbd7ed52ab38fbc4de4ba2dc8.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 9cb4cc8aa4d..085d967f623 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Jan 9 06:22:34 UTC 2016
+# Tue Feb 23 14:20:43 UTC 2016
pkgbase = perl6-net-curl
pkgdesc = Perl 6 interface to libcurl, the free and easy-to-use client-side URL transfer library
pkgver = 0.0.1
diff --git a/PKGBUILD b/PKGBUILD
index 6bb570cd788..1de81a531d9 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