kakoune: add new package (#29148)
This commit is contained in:
parent
258600eede
commit
6a1b0331a9
26
var/spack/repos/builtin/packages/kakoune/package.py
Normal file
26
var/spack/repos/builtin/packages/kakoune/package.py
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user