summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPoscat2020-02-18 23:53:32 +0800
committerPoscat2020-02-18 23:53:32 +0800
commitec9850290a55eade9b3379e2f628dbd8bb2df8cc (patch)
treef2508743cada9abb5990ec4dfa9c9d62d0a48e1e /PKGBUILD
parent023168655902c2c0ee1d0106a865968a619e40a3 (diff)
downloadaur-ec9850290a55eade9b3379e2f628dbd8bb2df8cc.tar.gz
Recursively clones git submodule
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1d398493892..77da5c112a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {