forked from hasufell/hasufell-repository
34 lines
734 B
Bash
34 lines
734 B
Bash
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
SUMMARY="Painless installation of GHC toolchain"
|
|
HOMEPAGE="https://www.haskell.org/ghcup/ https://gitlab.haskell.org/haskell/ghcup-hs"
|
|
DOWNLOADS="
|
|
platform:amd64? ( https://downloads.haskell.org/~ghcup/${PV}/x86_64-linux-ghcup-${PV} )
|
|
platform:x86? ( https://downloads.haskell.org/~ghcup/${PV}/i386-linux-ghcup-${PV} )
|
|
"
|
|
|
|
LICENCES="LGPL-3"
|
|
SLOT="0"
|
|
PLATFORMS="~amd64 ~x86"
|
|
MYOPTIONS="
|
|
platform: amd64 x86
|
|
"
|
|
|
|
DEPENDENCIES="
|
|
run:
|
|
net-misc/curl
|
|
"
|
|
|
|
BUGS_TO="hasufell@posteo.de"
|
|
|
|
WORK=${WORKBASE}
|
|
|
|
src_unpack() {
|
|
edo mv "${FETCHEDDIR}/${ARCHIVES}" ghcup
|
|
}
|
|
|
|
src_install() {
|
|
dobin ghcup
|
|
}
|