git-annex/standalone/android/buildchroot-inchroot-asuser

15 lines
304 B
Text
Raw Normal View History

#!/bin/sh
# Runs inside the chroot set up by buildchroot, as the user it creates
set -e
2013-09-22 14:29:22 -04:00
cd
rm -rf .ghc .cabal
cabal update
cabal install happy alex --bindir=$HOME/bin
PATH=$HOME/bin:$PATH
export PATH
git clone https://github.com/joeyh/ghc-android
cd ghc-android
git checkout stable-ghc-snapshot
./build