diff options
author | Bambi <asgambato@gmail.com> | 2022-03-04 11:42:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 11:42:01 +0100 |
commit | 6a1b0331a9861bfe307fe1c471bf70690a522bd6 (patch) | |
tree | 50b13792f5903f84df8ed800ec1840f83cea3647 | |
parent | 258600eede214cecf63a81f1d01964353f247ef4 (diff) | |
download | spack-6a1b0331a9861bfe307fe1c471bf70690a522bd6.tar.gz spack-6a1b0331a9861bfe307fe1c471bf70690a522bd6.tar.bz2 spack-6a1b0331a9861bfe307fe1c471bf70690a522bd6.tar.xz spack-6a1b0331a9861bfe307fe1c471bf70690a522bd6.zip |
kakoune: add new package (#29148)
-rw-r--r-- | var/spack/repos/builtin/packages/kakoune/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kakoune/package.py b/var/spack/repos/builtin/packages/kakoune/package.py new file mode 100644 index 0000000000..ef406214f4 --- /dev/null +++ b/var/spack/repos/builtin/packages/kakoune/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Kakoune(MakefilePackage): + """mawww's experiment for a better code editor.""" + + homepage = "https://www.kakoune.org" + url = "https://github.com/mawww/kakoune/releases/download/v2021.11.08/kakoune-2021.11.08.tar.bz2" + + maintainers = ['Bambi'] + + version('2021.11.08', sha256='aa30889d9da11331a243a8f40fe4f6a8619321b19217debac8f565e06eddb5f4') + + depends_on('ncurses') + + conflicts('%gcc@:8', when='@2021.11.08', msg='GCC version must be at least 9.0!') + + build_targets = ['all', 'man'] + + def edit(self, spec, prefix): + env['PREFIX'] = prefix |