diff options
author | Poscat | 2020-02-18 23:53:32 +0800 |
---|---|---|
committer | Poscat | 2020-02-18 23:53:32 +0800 |
commit | ec9850290a55eade9b3379e2f628dbd8bb2df8cc (patch) | |
tree | f2508743cada9abb5990ec4dfa9c9d62d0a48e1e | |
parent | 023168655902c2c0ee1d0106a865968a619e40a3 (diff) | |
download | aur-ec9850290a55eade9b3379e2f628dbd8bb2df8cc.tar.gz |
Recursively clones git submodule
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = haskell-language-server-git pkgdesc = Integration point for ghcide and haskell-ide-engine. - pkgver = r63.d1a232f + pkgver = r77.80bc2e8 pkgrel = 1 url = https://github.com/haskell/haskell-language-server arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Poscat <poscat@mail.poscat.moe> pkgname=haskell-language-server-git -pkgver=r63.d1a232f +pkgver=r77.80bc2e8 pkgrel=1 pkgdesc="Integration point for ghcide and haskell-ide-engine." arch=('x86_64' 'aarch64') @@ -17,9 +17,14 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "${srcdir}/${pkgname}" + git submodule update --init --recursive +} + build() { cd "${srcdir}/${pkgname}" - stack build + stack build --stack-yaml=stack-8.8.2.yaml } package() { |