diff options
author | Paulo Matias | 2023-04-11 18:26:16 -0300 |
---|---|---|
committer | Paulo Matias | 2023-04-11 18:26:16 -0300 |
commit | 05ae6971fcabfe1fdfee1f483dcf17a711d97901 (patch) | |
tree | 2500d619f0c24d8d247470b20f2f1448cf5dd375 /PKGBUILD | |
parent | adff1e2e03c96753a24cd8cce41026194ed4f0e4 (diff) | |
download | aur-05ae6971fcabfe1fdfee1f483dcf17a711d97901.tar.gz |
perez.aron's faster pkgrel computation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ makedepends=('git' 'gperf' 'ghc' 'tcl' 'texlive-latexextra' 'texlive-fontsextra' optdepends=('tcl: bluesim and bluetcl') # workaround for pkgrel overwritten on regen (by TkG) # rebuild whenever some haskell depend is rebuilt -eval pkgrel=$(LC_ALL=C pacman -Si ${depends[@]} | awk '/Version/{sum+=substr($0,match($0,/[^-]+$/))}END{print sum}') +eval pkgrel=$(pacman -Q ${depends[@]} | cut -d" " -f2 | cut -d"-" -f2 | awk '{sum+=$0}END{print sum}') source=("git+https://github.com/b-lang-org/bsc.git" "git+https://github.com/SRI-CSL/yices2.git") sha256sums=('SKIP' |