diff options
author | Andy Weidenbaum | 2016-02-23 06:56:02 -0800 |
---|---|---|
committer | Andy Weidenbaum | 2016-02-23 06:56:02 -0800 |
commit | 75a06291d650ab4d1c874deb174d7d66039bc49a (patch) | |
tree | 6d6eac39a68dd5fac788f35b7530fee0550814eb | |
parent | d473537075c88094f0b8e9374299fbbd5b0a2274 (diff) | |
download | aur-75a06291d650ab4d1c874deb174d7d66039bc49a.tar.gz |
simplify precomp grep, credit spider-mario
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 2 insertions, 6 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Fri Jan 8 00:07:36 UTC 2016 +# Tue Feb 23 14:20:44 UTC 2016 pkgbase = perl6-slang-tuxic pkgdesc = Allows you to put whitespace between the name of a subroutine and the opening parenthesis pkgver = 0.0.1 @@ -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 |