summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Hürlimann2019-01-29 20:47:10 +0100
committerPhilippe Hürlimann2019-01-29 20:47:10 +0100
commitdff3ebc7dcab55b6aa09027da9eaf07cb56074b8 (patch)
treeb1e37462abf5fa4f6c3ede4f5970230e237889b4
parent600370a243e072a6d840e785e9e9f843b93b6db7 (diff)
downloadaur-dff3ebc7dcab55b6aa09027da9eaf07cb56074b8.tar.gz
fix wrong naming of variable in PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eb6e323114a..b28650cb72e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = haskell-ide-engine
pkgdesc = The engine for haskell ide-integration. Not an IDE
pkgver = 0.5.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/haskell/haskell-ide-engine
arch = x86_64
license = custom:BSD3
diff --git a/PKGBUILD b/PKGBUILD
index f8e242f7611..700bdc8462c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Philippe Hürlimann <p@hurlimann.org>
pkgname=haskell-ide-engine
pkgver=0.5.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="The engine for haskell ide-integration. Not an IDE"
arch=('x86_64')
url="https://github.com/haskell/haskell-ide-engine"
@@ -14,7 +14,7 @@ md5sums=('SKIP')
# supported are '8.2.1' '8.2.2' '8.4.2' '8.4.3' '8.4.4' '8.6.1' '8.6.2' '8.6.3'
# activated by default are the ones also used in a stackage snapshot
# removing versions you do not use will greatly reduce the compilation time of this package
-enabled_ghc_versions=('8.2.2' '8.4.3' '8.4.4' '8.6.3')
+_enabled_ghc_versions=('8.2.2' '8.4.3' '8.4.4' '8.6.3')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -23,7 +23,7 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- for ver in "${enabled_ghc_versions[@]}"; do
+ for ver in "${_enabled_ghc_versions[@]}"; do
stack --stack-yaml=stack-${ver}.yaml build
done
}
@@ -32,7 +32,7 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- for ver in "${enabled_ghc_versions[@]}"; do
+ for ver in "${_enabled_ghc_versions[@]}"; do
stack --stack-yaml=stack-${ver}.yaml --local-bin-path "${pkgdir}/usr/bin/" install \
&& mv "${pkgdir}/usr/bin/hie" "${pkgdir}/usr/bin/hie-${ver}"
done