void-packages/srcpkgs/cabal-install/template
2018-08-06 12:28:14 +02:00

22 lines
696 B
Bash

# Template file for 'cabal-install'
pkgname=cabal-install
version=2.2.0.0
revision=2
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="BSD-3-Clause"
homepage="https://hackage.haskell.org/package/cabal-install"
distfiles="https://hackage.haskell.org/packages/archive/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum=c856a2dd93c5a7b909597c066b9f9ca27fbda1a502b3f96077b7918c0f64a3d9
nopie_files="/usr/bin/cabal"
do_build() {
PREFIX=$PWD/build sh bootstrap.sh --user --no-doc
}
do_install() {
vbin build/bin/cabal
vlicense LICENSE
}