# Template file for 'cabal-install' pkgname=cabal-install version=1.22.6.0 revision=1 hostmakedepends="ghc curl" makedepends="gmp-devel libffi-devel zlib-devel" depends="ghc" short_desc="Command-line interface for Cabal and Hackage" maintainer="Christian Neukirchen " license="custom" homepage="http://hackage.haskell.org/package/cabal-install" distfiles="http://hackage.haskell.org/packages/archive/$pkgname/$version/$pkgname-$version.tar.gz" checksum=9d239e385696a7faa49f068aea451882baec6a7df26fbddbd08271c9053cb0b4 do_build() { PREFIX=$PWD/build sh bootstrap.sh --user } do_install() { vbin build/bin/cabal vlicense LICENSE }