From 07323e72741bb74371c9470cca08ef88f582dab4 Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Mon, 14 Feb 2022 21:33:12 -0800 Subject: [PATCH] new package: ghcup-0.1.17.4 --- srcpkgs/ghcup/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/ghcup/template diff --git a/srcpkgs/ghcup/template b/srcpkgs/ghcup/template new file mode 100644 index 000000000000..952d7fc6a858 --- /dev/null +++ b/srcpkgs/ghcup/template @@ -0,0 +1,23 @@ +# Template file for 'ghcup' +pkgname=ghcup +version=0.1.17.4 +revision=1 +wrksrc="ghcup-hs-v$version" +build_style='haskell-stack' +make_build_args='--flag ghcup:tui --flag ghcup:internal-downloader' +hostmakedepends='tar' +makedepends='zlib-devel ncurses-libtinfo-devel openssl-devel' +depends='zlib ncurses-libtinfo-libs openssl' +short_desc='Installer for the general purpose language Haskell' +maintainer='Kye Shi ' +license='LGPL-3.0-only' +homepage='https://www.haskell.org/ghcup/' +distfiles="https://gitlab.haskell.org/haskell/ghcup-hs/-/archive/v$version/ghcup-hs-v$version.tar.gz" +checksum='9bd500baceb90d082bcb33173f3b6356aa91549b4a37fad181eeb21e06b93e64' +nopie_files='/usr/bin/ghcup' + +post_install() { + for sh in 'bash' 'fish' 'zsh'; do + vcompletion "scripts/shell-completions/$sh" "$sh" + done +}