diff --git a/packages/dev-haskell/cabal-install-bin/cabal-install-bin-2.2.0.0-r1.exheres-0 b/packages/dev-haskell/cabal-install-bin/cabal-install-bin-2.4.0.0.exheres-0 similarity index 70% rename from packages/dev-haskell/cabal-install-bin/cabal-install-bin-2.2.0.0-r1.exheres-0 rename to packages/dev-haskell/cabal-install-bin/cabal-install-bin-2.4.0.0.exheres-0 index 00720fd..782325b 100644 --- a/packages/dev-haskell/cabal-install-bin/cabal-install-bin-2.2.0.0-r1.exheres-0 +++ b/packages/dev-haskell/cabal-install-bin/cabal-install-bin-2.4.0.0.exheres-0 @@ -3,7 +3,7 @@ SUMMARY="cabal-install is the command line interface to Cabal and hackage" HOMEPAGE="https://www.haskell.org/cabal/" -DOWNLOADS="https://www.haskell.org/cabal/release/cabal-install-${PV}/cabal-install-${PV}-x86_64-unknown-linux.tar.gz" +DOWNLOADS="https://downloads.haskell.org/~debian/pool/main/c/cabal-install-2.4/cabal-install-2.4_2.4%2Bgit20180920.1.60e200d-6~deb9_amd64.deb" LICENCES="BSD-3" SLOT="0" @@ -24,7 +24,13 @@ BUGS_TO="hasufell@posteo.de" WORK=${WORKBASE} -src_install() { - dobin cabal +src_unpack() { + default + unpack ./data.tar.xz +} + +src_install() { + dobin opt/cabal/2.4/bin/cabal + doman opt/cabal/2.4/share/man/man1/* }