blob: af9e8e725819e7afc12653cd16247ec4800191f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 2013-2019 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 Pacvim(MakefilePackage):
"""Pacvim is a command-line-based game based off of Pacman.
The main purpose of this software is to familiarize individuals
with Vim."""
homepage = "https://github.com/jmoon018/PacVim"
url = "https://github.com/jmoon018/PacVim/archive/v1.1.1.tar.gz"
version('1.1.1', sha256='c869c5450fbafdfe8ba8a8a9bba3718775926f276f0552052dcfa090d21acb28')
depends_on('ncurses')
def edit(self, stage, prefix):
makefile = FileFilter('Makefile')
makefile.filter(r'PREFIX = /usr/local',
'PREFIX={0}'.format(self.prefix))
|