void-packages/srcpkgs/cabal-install/template

23 lines
664 B
Plaintext

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