summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 06:22:15 -0800
committerAndy Weidenbaum2016-02-23 06:22:15 -0800
commit1941b882238e26e17419e8e0efdea9cb604b4a88 (patch)
tree73f889d7d59ed1ec7c73b4100ab071748e4b7637
parent6c2ebf58d0d21018e68c000f368cc7c0aaf27318 (diff)
downloadaur-1941b882238e26e17419e8e0efdea9cb604b4a88.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 78d16e61e34..1e069ccd2e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Jan 7 23:49:46 UTC 2016
+# Tue Feb 23 14:20:40 UTC 2016
pkgbase = bamboo
pkgdesc = Perl6 dependency manager (bundler)
pkgver = 0.0.2
diff --git a/PKGBUILD b/PKGBUILD
index d8467ed740a..1a20ffdf8ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,11 +33,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