void-packages/srcpkgs/cabal-install/template
2018-01-02 16:28:22 +01:00

22 lines
694 B
Bash

# Template file for 'cabal-install'
pkgname=cabal-install
version=2.0.0.1
revision=1
hostmakedepends="ghc curl"
makedepends="gmp-devel libffi-devel zlib-devel"
depends="ghc"
short_desc="Command-line interface for Cabal and Hackage"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="3-clause-BSD"
homepage="http://hackage.haskell.org/package/cabal-install"
distfiles="http://hackage.haskell.org/packages/archive/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum=f991e36f3adaa1c7e2f0c422a2f2a4ab21b7041c82a8896f72afc9843a0d5d99
nopie_files="/usr/bin/cabal"
do_build() {
PREFIX=$PWD/build sh bootstrap.sh --user --no-doc
}
do_install() {
vbin build/bin/cabal
vlicense LICENSE
}