# Template file for 'cabal-install' pkgname=cabal-install version=3.2.0.0 revision=1 hostmakedepends="ghc curl tar which" makedepends="gmp-devel libffi-devel zlib-devel" depends="ghc" short_desc="Command-line interface for Cabal and Hackage" maintainer="Leah Neukirchen " 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=a0555e895aaf17ca08453fde8b19af96725da8398e027aa43a49c1658a600cb0 nopie_files="/usr/bin/cabal" nocross=yes do_build() { PREFIX=$PWD/build sh bootstrap.sh --user } do_install() { vbin build/bin/cabal vman build/share/man/man1/cabal.1 vlicense LICENSE }