87a51825f9
Closes: #6803 [via git-merge-pr]
22 lines
696 B
Bash
22 lines
696 B
Bash
# Template file for 'cabal-install'
|
|
pkgname=cabal-install
|
|
version=2.4.1.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=69bcb2b54a064982412e1587c3c5c1b4fada3344b41b568aab25730034cb21ad
|
|
nopie_files="/usr/bin/cabal"
|
|
|
|
do_build() {
|
|
PREFIX=$PWD/build sh bootstrap.sh --user --no-doc
|
|
}
|
|
do_install() {
|
|
vbin build/bin/cabal
|
|
vlicense LICENSE
|
|
}
|