From ac30fbf8d0355e61f4d8b68696a9af59ccdbcd37 Mon Sep 17 00:00:00 2001 From: Ananda Umamil Date: Fri, 7 May 2021 01:58:17 +0700 Subject: [PATCH] New package: ghcup-hs-0.1.14.1 --- srcpkgs/ghcup-hs/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/ghcup-hs/template diff --git a/srcpkgs/ghcup-hs/template b/srcpkgs/ghcup-hs/template new file mode 100644 index 000000000000..a10e5de95e2d --- /dev/null +++ b/srcpkgs/ghcup-hs/template @@ -0,0 +1,27 @@ +# Template file for 'ghcup' +pkgname=ghcup-hs +version=0.1.14.1 +revision=1 +build_style=haskell-stack +make_build_args="--flag libarchive:system-libarchive" +hostmakedepends="pkg-config" +makedepends="libarchive-devel ncurses-devel openssl-devel tar" +short_desc="ghcup is an installer for the general purpose language Haskell" +maintainer="Ananda Umamil " +license="LGPL-3.0-or-later" +homepage="https://www.haskell.org/ghcup/" +distfiles="https://github.com/haskell/${pkgname}/archive/v${version}.tar.gz" +checksum=e254e096c0166bb708e36be6fd1d311f4828ae00f037dd20e671e236424bad76 +nopie_files=" + /usr/bin/ghcup + /usr/bin/ghcup-gen +" +nocross=yes + +post_install() { + vdoc README.md + vlicense LICENSE + vcompletion shell-completions/bash bash ghcup + vcompletion shell-completions/fish fish ghcup + vcompletion shell-completions/zsh zsh ghcup +}