diff options
author | Jiehong Ma | 2016-08-19 22:24:47 +0200 |
---|---|---|
committer | AwesomeHaircut | 2017-12-05 19:22:21 -0700 |
commit | 6420f825528da3e99840806f6d6cf6357c08dcb4 (patch) | |
tree | f1080a817079ab2c775f0f20e6062989bac58d1d /PKGBUILD | |
parent | 070875b5b273ca4c06a7d4618bffd00d252cddee (diff) | |
download | aur-6420f825528da3e99840806f6d6cf6357c08dcb4.tar.gz |
bump: try to make version 8.4.0 available
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -1,43 +1,42 @@ # Maintainer: Jiehong Ma <email@majiehong.com> pkgname=ihaskell-git -pkgver=0.8.3 +pkgver=0.8.4 pkgrel=1 -pkgdesc="A Haskell kernel for IPython, built in a sandbox." +pkgdesc="A Haskell kernel for Jupyter, built in a sandbox." arch=('i686' 'x86_64') url="https://github.com/gibiansky/IHaskell" license=('MIT') -depends=('ipython>=4' 'python-pyzmq' 'jupyter' 'ghc=7.10.3') -makedepends=('git' 'happy' 'gtk2hs-buildtools' 'haskell-stack') +depends=('python-pyzmq' 'jupyter' 'haskell-stack' 'ghc7.10-bin') +makedepends=('git' 'happy' 'haskell-gtk2hs-buildtools') provides=('ihaskell') conflicts=() source=("git+https://github.com/gibiansky/IHaskell" "patch") sha512sums=('SKIP' - '34b08fb46b428fc871660415a3bc16864f4136aaf15792334d378eb6ebd4e78cb358039723c70767f4fe2369e042c0d9e6ef6a7117e420a00f0da263c7131210') + '6340595cafddcdcec315d086523d9c35539653fb8079ea56ddf75c15e3103fe81cccf3f98665d37dee9d3d46459985d10ff93ad5b66eb89a3ffb6265b5efec2f') prepare() { cd "$srcdir/IHaskell" + git checkout 73791d3 patch "stack.yaml" "../../patch" } build() { + export STACK_ROOT="$HOME/.stack/" cd "$srcdir/IHaskell" - #git checkout "v${pkgver}.0" - git checkout 1b6d908 stack setup printf '%s\n' 'If you never used stack before, run `stack init` first.' stack install ghc-parser --no-copy-bins stack install ipython-kernel --no-copy-bins stack install system-argv0 --no-copy-bins stack install ihaskell --no-copy-bins + stack build + stack build } package() { - cd "$srcdir/IHaskell/.stack-work/install/x86_64-linux/lts-5.6/7.10.3/bin" - mkdir -p "$pkgdir/usr/bin/" - cp ihaskell "$pkgdir/usr/bin/ihaskell" printf '\n%s\n' 'Now, install ihaskell with `ihaskell install`, and enjoy it in `jupyter notebook`!' - printf '%s\n\n' 'Also make sure to set resolver to `resolver: lts-5.6` in your ~/.stack/global/stack.yaml file.' + printf '%s\n\n' 'Also make sure to set resolver to `resolver: lts-6.2` in your ~/.stack/global/stack.yaml file.' printf '%s\n' 'If you run in any issue, make sure to check that you initialiazed stack with `stack init`' 'But change the resolver as mentionned' } |