Skip to content

Commit

Permalink
Wizard recipe: fzf-v0.21.1 (#1286)
Browse files Browse the repository at this point in the history
* New Recipe: fzf v0.21.1

* Update F/fzf/build_tarballs.jl

Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
  • Loading branch information
Moelf and giordano authored Jul 4, 2020
1 parent c9f8eb3 commit 5551099
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions F/fzf/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Note that this script can accept some limited command-line arguments, run
# `julia build_tarballs.jl --help` to see a usage message.
using BinaryBuilder, Pkg

name = "fzf"
version = v"0.21.1"

# Collection of sources required to complete build
sources = [
GitSource("https://github.com/junegunn/fzf.git", "334a4fa15920b08f7be2432398e620587cc6f079")
]

# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir
cd fzf/
mkdir -p ${bindir}
go build -o ${bindir}
"""

# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = supported_platforms()

# The products that we will ensure are always built
products = [
ExecutableProduct("fzf", :fzf)
]

# Dependencies that must be installed before this package can be built
dependencies = Dependency[
]

# Build the tarballs, and possibly a `build.jl` as well.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; compilers = [:go])

0 comments on commit 5551099

Please sign in to comment.