/ripgrep/plan.sh
https://github.com/habitat-sh/core-plans · Shell · 23 lines · 20 code · 3 blank · 0 comment · 0 complexity · 4b62415f50cff1b13557556131a6e237 MD5 · raw file
- pkg_name=ripgrep
- pkg_origin=core
- pkg_version="11.0.2"
- pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
- pkg_license=('MIT' 'Unlicense')
- pkg_source="https://github.com/BurntSushi/${pkg_name}/releases/download/${pkg_version}/${pkg_name}-${pkg_version}-x86_64-unknown-linux-musl.tar.gz"
- pkg_dirname="${pkg_name}-${pkg_version}-x86_64-unknown-linux-musl"
- pkg_shasum=2e7978e346553fbc45c0940d9fa11e12f9afbae8213b261aad19b698150e169a
- pkg_bin_dirs=(bin)
- pkg_description="ripgrep combines the usability of The Silver Searcher with the raw speed of grep."
- pkg_upstream_url="https://github.com/BurntSushi/ripgrep"
- do_build() {
- return 0
- }
- do_install() {
- install -v -m 0755 "${CACHE_PATH}/rg" "${pkg_prefix}/bin/rg"
- }
- do_strip() {
- return 0
- }