From 82a4424afe4c5a1ccf56770ff775a59a563e2939 Mon Sep 17 00:00:00 2001 From: Ananda Umamil Date: Sun, 13 Jun 2021 23:49:24 +0700 Subject: [PATCH] New package: ghcup-hs-0.1.15.2 --- 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..8728bd078955 --- /dev/null +++ b/srcpkgs/ghcup-hs/template @@ -0,0 +1,27 @@ +# Template file for 'ghcup-hs' +pkgname=ghcup-hs +version=0.1.15.2 +revision=1 +build_style=haskell-stack +make_build_args="--flag ghcup:tui --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=93e247af51ce21b90c5eb12d5884865c79ab02783d169cc02abf83a7166e72b1 +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 +}