blob: c040da3699921bb983a9bb0d314346563f1a2ba7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
from spack import *
import os
import shutil
class ThePlatinumSearcher(Package):
"""Fast parallel recursive grep alternative"""
# FIXME: add a proper url for your package's homepage here.
homepage = "https://github.com/monochromegane/the_platinum_searcher"
url = "https://github.com/monochromegane/the_platinum_searcher"
package = 'github.com/monochromegane/the_platinum_searcher/...'
version('head', go=package)
extends("go")
def install(self, spec, prefix):
go('install', self.package)
shutil.copytree('bin', os.path.join(prefix, 'bin'))
|