summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPaulo Matias2020-10-08 10:52:03 -0300
committerPaulo Matias2020-10-08 10:52:03 -0300
commit89fb973f10e0127540196dc9835196fa761f0b5c (patch)
treec99f22a9a7fb62a4775dc581b33790cf2969ac77 /PKGBUILD
parentaa66523fc2c2ec698ea08e5a021ed3dbad4ba8b4 (diff)
downloadaur-89fb973f10e0127540196dc9835196fa761f0b5c.tar.gz
workaround for pkgrel overwritten on regen (by TkG)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ad6698ccbff8..960d716bab82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@
# Maintainer: Paulo Matias <matias@ufscar.br>
pkgname=bluespec-git
-pkgver=r301.9f4a447
+pkgver=r394.8d454e4
+pkgrel=1
pkgdesc='Bluespec Compiler (BSC)'
arch=('x86_64')
url='https://github.com/B-Lang-org/bsc'
@@ -10,7 +11,9 @@ license=('BSD')
depends=('haskell-old-time' 'haskell-syb' 'haskell-regex-compat' 'haskell-split')
makedepends=('git' 'gperf' 'ghc' 'tcl')
optdepends=('tcl: bluesim and bluetcl')
-pkgrel=$(pacman -Si ${depends[@]} | awk '/Version/{sum+=substr($0,match($0,/[^-]+$/))}END{print sum}')
+# workaround for pkgrel overwritten on regen (by TkG)
+# rebuild whenever some haskell depend is rebuilt
+eval pkgrel=$(pacman -Si ${depends[@]} | awk '/Version/{sum+=substr($0,match($0,/[^-]+$/))}END{print sum}')
source=("git+https://github.com/b-lang-org/bsc.git")
sha256sums=('SKIP')
_prefix="/opt/bluespec"