From 511071574b59d1199b4033c919c539b6708aca9a 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.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..8a9e3bf67b0d --- /dev/null +++ b/srcpkgs/ghcup-hs/template @@ -0,0 +1,27 @@ +# Template file for 'ghcup-hs' +pkgname=ghcup-hs +version=0.1.15.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=386edb42caca569f4d5ef268c0285a9110a3e7dc4ef68e5d113761d62150b7c9 +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 +}